javascript Code: var current_topic;
var vurrent_topic_html;
var old_topic = -1;
var topic_count;
var topic_interval;
$(document).ready(function(){
topic_count = $("tr.child_topic").size();
if(topic_count >= 1) {
topic_interval = setInterval(topic_rotate,4000);
topic_rotate();
} else {
$("#main_topic").remove()
}
});
function topic_rotate() {
current_topic = (old_topic + 1) % topic_count;
current_topic_html = $("tr.child_topic:eq(" + current_topic + ")").html();
$("tr#main_topic").html(current_topic_html);
old_topic = current_topic;
}
Code: <div class="IBinfosection" id="IBsection9">
<div><img src="images/transparent.gif" class="IBBlueBlog IBserver" alt="Server Info" /><span class="IBtextpad thick">Server Info</span></div><div><img src="images/transparent.gif" class="IBBlueBlog IBserver" alt="Server Info" /><span class="IBtextpad thick">Server Info</span></div>
<ul class="rninfobox">
<li class="rnIBBlueBlog IBserdate" title="Server Date/Time">May 07, 2012</li>
<li class="rnIBBlueBlog IBtime" title="Server Date/Time">05:49 pm MST</li>
</ul>
</div>
php Code: if ($numrows > 0) {
echo '<br />';
OpenTable3();
echo '<div class="title" style="text-align: center;" width="100%">Online Flea '.$ver.': '._FDLF_EDITCATEGORY.'</div>'.PHP_EOL;
echo '<div style="text-align: center;">'.PHP_EOL;
echo '<span style="font-weight: bold;">'._FDLF_EDITCATEGORY.'</span></div><br /><br />'.PHP_EOL;
echo '<form action="'.$admin_file.'.php" method="post">'.PHP_EOL;
echo '<span style="font-weight: bold;">'._FDLF_CATEGORY.':</span> '.PHP_EOL;
echo '<select name="cid">'.PHP_EOL;
while ($row_cat = $db->sql_fetchrow($rescat)) {
$cid = intval($row_cat['cid']);
$cat_title = stripslashes(check_html($row_cat['title'], 'nohtml'));
echo '<option value="'.$cid.'">'.$cat_title.'</option>'.PHP_EOL;
}
echo '</select>'.PHP_EOL;
echo '<input type="hidden" name="op" value="OnlineFleaEditCat">'.PHP_EOL;
echo '<input type="submit" value="'._FDLF_EDIT.'">'.PHP_EOL;
echo '</form>'.PHP_EOL;
CloseTable3();
}