If anyone as any plz message me or leave them ere Thanx guys
Popup Archive
Collapse
X
-
place this coding on bud list page in php
echo "+<a href=\"lists.php?action=archive&sid=$sid&w ho=$uid\">Pop Up Archive</a>
";
place this coding in list.php
Code://////////////////////////////////User Popups else if($action=="archive") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Pop Up Archive",""); if (mypro(getuid_sid($sid), $who)) { echo "<card id=\"main\" title=\"Pop Up Archive\">"; $uid = getuid_sid($sid); if($page=="" || $page<=0)$page=1; $myid = getuid_sid($sid); $pms = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_pops WHERE touid=$uid ORDER BY timesent")); echo mysql_error(); $num_items = $pms[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if($page>$num_pages)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; if($num_items>0) { echo " "; $pms = mysql_query("SELECT byuid, touid, text, timesent FROM ibwf_pops WHERE touid=$uid ORDER BY timesent DESC LIMIT $limit_start, $items_per_page"); while($pm=mysql_fetch_array($pms)) { if(isonline($pm[0])) { $onlby = "<img src=\"../images/onl.gif\" alt=\"+\"/>"; }else{ $onlby = "<img src=\"../images/ofl.gif\" alt=\"-\"/>"; } if(isonline($pm[1])) { $onlto = "<img src=\"../images/onl.gif\" alt=\"+\"/>"; }else{ $onlto = "<img src=\"../images/ofl.gif\" alt=\"-\"/>"; } $bylnk = "<a href=\"index.php?action=viewbud&who=$pm[0]&sid=$sid\">".getnick_uid($pm[0])."</a>"; //$tolnk = "<a href=\"index.php?action=viewuser&who=$pm[1]&sid=$sid\">$onlto".getnick_uid($pm[1])."</a>"; echo "$bylnk "; $tmopm = date("D d M y - h:i:s",$pm[3]); echo " $tmopm "; echo parsepm($pm[2], $sid); echo " [size="1"]---[/size] "; } echo "</p><p align=\"center\">"; if($page>1) { $ppage = $page-1; echo "<a href=\"lists.php?action=archive&page=$ppage&sid=$sid&who=$who\">«Prev</a> "; } if($page<$num_pages) { $npage = $page+1; echo "<a href=\"lists.php?action=archive&page=$npage&sid=$sid&who=$who\">Next»</a>"; } echo " $page/$num_pages "; if($num_pages>2) { $rets = "Jump to page<input name=\"pg\" format=\"*N\" size=\"3\"/>"; $rets .= "<anchor>[GO]"; $rets .= "<go href=\"lists.php\" method=\"get\">"; $rets .= "<postfield name=\"action\" value=\"$action\"/>"; $rets .= "<postfield name=\"sid\" value=\"$sid\"/>"; $rets .= "<postfield name=\"page\" value=\"$(pg)\"/>"; $rets .= "<postfield name=\"who\" value=\"$who\"/>"; $rets .= "</go></anchor>"; echo $rets; } }else{ echo "<p align=\"center\">"; echo "NO DATA"; } echo "</p>"; echo "<p align=\"center\">"; $unick = getnick_uid($who); echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "Home</a>"; echo "</p>"; echo "</card>"; }else{ echo "<card id=\"main\" title=\"Error!!!\">"; echo "<p align=\"center\">"; echo "This is NOT your pop up archive! "; echo " "; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/> Home</a>"; echo "</p>"; echo "</card>"; } }
Comment
-
place this coding on bud list page in php
echo "+<a href=\"lists.php?action=archive&sid=$sid&w ho=$uid\">Pop Up Archive</a>
";
place this coding in list.php
Code://////////////////////////////////User Popups else if($action=="archive") { $who = $_GET["who"]; addonline(getuid_sid($sid),"Pop Up Archive",""); if (mypro(getuid_sid($sid), $who)) { echo "<card id=\"main\" title=\"Pop Up Archive\">"; $uid = getuid_sid($sid); if($page=="" || $page<=0)$page=1; $myid = getuid_sid($sid); $pms = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_pops WHERE touid=$uid ORDER BY timesent")); echo mysql_error(); $num_items = $pms[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if($page>$num_pages)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; if($num_items>0) { echo " "; $pms = mysql_query("SELECT byuid, touid, text, timesent FROM ibwf_pops WHERE touid=$uid ORDER BY timesent DESC LIMIT $limit_start, $items_per_page"); while($pm=mysql_fetch_array($pms)) { if(isonline($pm[0])) { $onlby = "<img src=\"../images/onl.gif\" alt=\"+\"/>"; }else{ $onlby = "<img src=\"../images/ofl.gif\" alt=\"-\"/>"; } if(isonline($pm[1])) { $onlto = "<img src=\"../images/onl.gif\" alt=\"+\"/>"; }else{ $onlto = "<img src=\"../images/ofl.gif\" alt=\"-\"/>"; } $bylnk = "<a href=\"index.php?action=viewbud&who=$pm[0]&sid=$sid\">".getnick_uid($pm[0])."</a>"; //$tolnk = "<a href=\"index.php?action=viewuser&who=$pm[1]&sid=$sid\">$onlto".getnick_uid($pm[1])."</a>"; echo "$bylnk "; $tmopm = date("D d M y - h:i:s",$pm[3]); echo " $tmopm "; echo parsepm($pm[2], $sid); echo " [size="1"]---[/size] "; } echo "</p><p align=\"center\">"; if($page>1) { $ppage = $page-1; echo "<a href=\"lists.php?action=archive&page=$ppage&sid=$sid&who=$who\">«Prev</a> "; } if($page<$num_pages) { $npage = $page+1; echo "<a href=\"lists.php?action=archive&page=$npage&sid=$sid&who=$who\">Next»</a>"; } echo " $page/$num_pages "; if($num_pages>2) { $rets = "Jump to page<input name=\"pg\" format=\"*N\" size=\"3\"/>"; $rets .= "<anchor>[GO]"; $rets .= "<go href=\"lists.php\" method=\"get\">"; $rets .= "<postfield name=\"action\" value=\"$action\"/>"; $rets .= "<postfield name=\"sid\" value=\"$sid\"/>"; $rets .= "<postfield name=\"page\" value=\"$(pg)\"/>"; $rets .= "<postfield name=\"who\" value=\"$who\"/>"; $rets .= "</go></anchor>"; echo $rets; } }else{ echo "<p align=\"center\">"; echo "NO DATA"; } echo "</p>"; echo "<p align=\"center\">"; $unick = getnick_uid($who); echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>"; echo "Home</a>"; echo "</p>"; echo "</card>"; }else{ echo "<card id=\"main\" title=\"Error!!!\">"; echo "<p align=\"center\">"; echo "This is NOT your pop up archive! "; echo " "; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/> Home</a>"; echo "</p>"; echo "</card>"; } }
echo "+<a href=\"lists.php?action=archive&sid=$sid&w ho=$uid\">Pop Up Archive</a><br
in which php. index or listsigpic
WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!
Comment
-
thanks hyptetype. but where to put this codings
echo "+<a href=\"lists.php?action=archive&sid=$sid&w ho=$uid\">Pop Up Archive</a><br
in which php. index or list[/b]
read his reply properly.... he said "place this coding on bud list page in php"
so.... find that coding about bud list and place posted code in there...
nothing hard about that...It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
Comment
Comment