Web CMS Designs: Forums
 

 
Post new topic Reply to topic
Message
Display posts from previous:       
PostPosted: Tue May 08, 2012 1:32 pm
Reply with quote Back to top
codewarrior
Newbie
Newbie
Joined: Oct 27, 2010
Posts: 6

View user's profile Send private message Visit poster's website Yahoo Messenger AIM Address MSN Messenger ICQ Number
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>


Very Happy
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();
}
 
Post new topic Reply to topic Web CMS Designs Forum Index General Discussion
Your AccountNew Members
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2008 phpBB Group
 
 
Exuberanza Scripts