Can you post the codes and usage code of this script?? THANKS IN ADVANCE!! 😊
LESS TALK. LESS MISTAKE.
HTTP://APPSROB.COM - LIST OF MY FACEBOOK APPS!
Started on the old forum in July 2009 · view the original in the archive · old links redirect here
Can you post the codes and usage code of this script?? THANKS IN ADVANCE!! 😊
LESS TALK. LESS MISTAKE.
HTTP://APPSROB.COM - LIST OF MY FACEBOOK APPS!
index.php
else if($action=="last10topic")
{
addonline(getuid_sid($sid),"<b> Last 10 topic</b>","index.php?action=$action");
echo "<card id=\"main\" title=\"Last 10 topic\">";
echo "<timer value=\"300\"/>";
//////ALL LISTS SCRIPT <<
if($page=="" || $page<=0)$page=1;
$num_items = regmemcount(); //changable
$items_per_page= 10;
$num_pages = ceil($num_items/$items_per_page);
if(($page>$num_pages)&&$page!=1)$page= $num_pages;
$limit_start = ($page-1)*$items_per_page;
//changable sql
$sql = "SELECT id, name, lastpost FROM ibwf_topics ORDER BY lastpost DESC
LIMIT 0 , 10 ";
echo "<p align=\"center\">";
echo "<b> Last activ topic:</b><br/><br/>";
$items = mysql_query($sql);
echo mysql_error();
if(mysql_num_rows($items)>0)
{
while ($item = mysql_fetch_array($items))
{
$lnk = "<a href=\"index.php?action=viewtpc&sid=$sid&tid=$item[0]&go=last\">$item[1]</a>";
echo "$lnk<br/>";
}
}
echo "</p>";
////// UNTILL HERE >>
echo "<p align=\"center\">";
echo "<img src=\"http://coding-talk.com/images/home.gif\" alt=\"*\"/> <a href=\"index.php?action=main&sid=$sid\">";
echo "Home</a>";
echo "</p>";
echo "</card>";
}
index.php >>> if($action=="main")
echo "<a href=\"index.php?action=last10topic&sid=$sid\">~Activ topic~</a><br/>";
Ill try this One! Thanks a lot SRECNICA!
LESS TALK. LESS MISTAKE.
HTTP://APPSROB.COM - LIST OF MY FACEBOOK APPS!
Its WORKING! Thanks a lot!
LESS TALK. LESS MISTAKE.
HTTP://APPSROB.COM - LIST OF MY FACEBOOK APPS!
Vayne wrote: why there is
echo "<timer value=\"300\"/>";? 🤨
it means it will autorefresh every 5 minutes. 5x60=300 seconds
LDSWAPWORLD site closed. im busy with other things in life like facebook , send me PM so i can add you 🙂 www.pinoySG.com
don't ask for help if you're not even helping yourself! i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.
capofret wrote: it means it will autorefresh every 5 minutes. 5x60=300 seconds
i know what means script timer 😀 but why it is needed there?
Nous Ne Dansos Pas, Nous Sommes Le Danse.!
mates im just a noob where to paste that code? I mean in what part of index.php file please help.thnks for the considerations.
Not i rip persons off i will also do your arse !
any one have the coding with who post the last post on that pati topics list
😳 .................................... http://photomag.lk/ .................................... 🤨
anywhere in the index.php file in the action = main
echo "<a href="index.php?action=last10topic&sid=$sid">
Activ topic</a> ";
centi wrote: any one have the coding with who post the last post on that pati topics list
limit 2 ??
Nous Ne Dansos Pas, Nous Sommes Le Danse.!