switchbox.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | <script type= "text/javascript" > var Box = 4; var chosenBox = 1; function toggleBox (toBox) { toBox = isNaN(toBox) ? 0 : toBox; if (toBox < 1 || toBox > Box) { toBox = (chosenBox < Box) ? chosenBox + 1 : 1; } document.getElementById( 'Box_' +chosenBox).style.display = 'none' ; document.getElementById( 'Box_' +toBox).style.display = '' ; chosenBox = toBox; } </script> <?php defined ( 'main' ) or die ( 'no direct access' ); echo ' <div id= "Box_1" > <div id= "Menu" > <a href= "javascript:void(0);" onclick= "toggleBox(1);" >ShoutBox</a> <br><a href= "javascript:void(0);" onclick= "toggleBox(2);" >Allianz</a></br> <br><a href= "javascript:void(0);" onclick= "toggleBox(3);" >Zufälliger User</a></br> <br><a href= "javascript:void(0);" onclick= "toggleBox(4);" >Geburtstag</a></br> </div> <div id= "Inhalt" >{_boxes_shbox}</div> </div> '; echo ' <div id= "Box_2" style= "display:none" > <div id= "Menu" > <a href= "javascript:void(0);" onclick= "toggleBox(1);" >ShoutBox</a> <br><a href= "javascript:void(0);" onclick= "toggleBox(2);" >Allianz</a></br> <br><a href= "javascript:void(0);" onclick= "toggleBox(3);" >Zufälliger User</a></br> <br><a href= "javascript:void(0);" onclick= "toggleBox(4);" >Geburtstag</a></br> </div> <div id= "Inhalt" >{_boxes_allianz}</div> </div> '; echo ' <div id= "Box_3" style= "display:none" > <div id= "Menu" > <a href= "javascript:void(0);" onclick= "toggleBox(1);" >ShoutBox</a> <br><a href= "javascript:void(0);" onclick= "toggleBox(2);" >Allianz</a></br> <br><a href= "javascript:void(0);" onclick= "toggleBox(3);" >Zufälliger User</a></br> <br><a href= "javascript:void(0);" onclick= "toggleBox(4);" >Geburtstag</a></br> </div> <div id= "Inhalt" >{_boxes_random_user}</div> </div> '; echo ' <div id= "Box_4" style= "display:none" > <div id= "Menu" > <a href= "javascript:void(0);" onclick= "toggleBox(1);" >ShoutBox</a> <br><a href= "javascript:void(0);" onclick= "toggleBox(2);" >Allianz</a></br> <br><a href= "javascript:void(0);" onclick= "toggleBox(3);" >Zufälliger User</a></br> <br><a href= "javascript:void(0);" onclick= "toggleBox(4);" >Geburtstag</a></br> <div id= "Inhalt" >{_boxes_geburtstag}</div> </div> '; ?> |
switchbox2.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | <script type= "text/javascript" > var Box = 7; var chosenBox = 2; function toggleBox (toBox) { toBox = isNaN(toBox) ? 0 : toBox; if (toBox < 2 || toBox > Box) { toBox = (chosenBox < Box) ? chosenBox + 2 : 2; } document.getElementById( 'Box_' +chosenBox).style.display = 'none' ; document.getElementById( 'Box_' +toBox).style.display = '' ; chosenBox = toBox; } </script> <?php defined ( 'main' ) or die ( 'no direct access' ); echo ' <div id= "Box_5" > <div id= "Menu" > <a href= "javascript:void(0);" onclick= "toggleBox(5);" >Online</a> <br><a href= "javascript:void(0);" onclick= "toggleBox(6);" >Statistik</a></br> <br><a href= "javascript:void(0);" onclick= "toggleBox(7);" >wieistmeineip.de</a></br> </div> <div id= "Inhalt" >{_boxes_online}</div> </div> '; echo ' <div id= "Box_6" style= "display:none" > <div id= "Menu" > <a href= "javascript:void(0);" onclick= "toggleBox(5);" >Online</a> <br><a href= "javascript:void(0);" onclick= "toggleBox(6);" >Statistik</a></br> <br><a href= "javascript:void(0);" onclick= "toggleBox(7);" >wieistmeineip.de</a></br> </div> <div id= "Inhalt" >{_boxes_statistik}</div> </div> '; echo ' <div id= "Box_7" style= "display:none" > <div id= "Menu" > <a href= "javascript:void(0);" onclick= "toggleBox(5);" >Online</a> <br><a href= "javascript:void(0);" onclick= "toggleBox(6);" >Statistik</a></br> <br><a href= "javascript:void(0);" onclick= "toggleBox(7);" >wieistmeineip.de</a></br> </div> <div id= "Inhalt" >{_boxes_wieistmeineip}</div> </div> '; ?> |
verwendete ilchClan Version: 1.1 N
betroffene Homepage: teg.web-clan.de/
Zuletzt modifiziert von -=TEG=-Virus am 29.03.2010 - 12:09:39