switchbox.php
<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
<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