Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: y pridetinius
Parašė FLezAS· 2008 Gru. 10 15:12:41
#1
gal kas galite perdaryti sias paneles kad detusi y pridetinius?
echo "
<hr>
<b>Svetainės Statistika:</b><br>";
$result = dbquery("SELECT count(news_id) FROM ".$db_prefix."news");
echo "° Naujienų: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(article_id) FROM ".$db_prefix."articles");
echo "° Straipsnių: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");
echo "° Siuntinių: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(photo_id) FROM ".$db_prefix."photos");
echo "° Nuotraukų: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(weblink_id) FROM ".$db_prefix."weblinks");
echo "° Forumo pranešimų: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(comment_id) FROM ".$db_prefix."comments");
echo "° Komentarų: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(shout_id) FROM ".$db_prefix."shoutbox");
echo "° Šaukyklos pranešimų: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(poll_id) FROM ".$db_prefix."polls");
echo "° Apklausų: [".dbresult($result, 0)."]<br>";
closeside();
;
openside(\"Paieška\");
?>
<center>
<form name='search' action='search.php?stype=n' method='post'>
<div align='center' class='search'>
<input type='text' class='textbox' name='stext' value='' onBlur=\\"if(this.value=='') this.value='';\\" onFocus=\\"if(this.value=='') this.value='';\\">
<br>
<br><input type='submit' name='option' value='Ieškoti' class='button></div></form>
</center>
<?
closeside();
;
openside("Atsitiktinis Avataras");
$id = dbresult(dbquery("SELECT * FROM ".$db_prefix."users WHERE user_avatar!='' ORDER BY RAND()"), 0);
$count = dbcount("(user_id)", "users", "user_avatar!=''");
$rez = dbcount("(user_id)", "users");
$proc = number_format($rez / 100 * $count);
$data = dbarray(dbquery("SELECT * FROM ".$db_prefix."users WHERE user_id='$id'"));
echo"<div style='text-align: center;'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."' class='side'><img src='".IMAGES."avatars/".$data['user_avatar']."' alt='' border='0'><br>".$data['user_name']."</a></div>";
echo "<div style='text-align: center;'><span class='small'><b>$count Vartotojai</b> (".$proc."%)<br>Jau turi po avatarą.</span>";
if (!$userdata['user_avatar'] && iMEMBER) {
echo "<br><a href='".BASEDIR."edit_profile.php' class='side'>Ir aš noriu avataro!</a>";
}
echo "</div>";
closeside();
Parašė viva· 2008 Gru. 10 15:12:00
#2
<center>
<form name='search' action='search.php?stype=n' method='post'>
<div align='center' class='search'>
<input type='text' class='textbox' name='stext' value='' onBlur=\\"if(this.value=='') this.value='';\\" onFocus=\\"if(this.value=='') this.value='';\\">
<br>
<br><input type='submit' name='option' value='Ieškoti' class='button></div></form>
</center>
Parašė FLezAS· 2008 Gru. 10 15:12:17
#3
o kiti? ir jei dar galite rasant isjunkite smileys ;)
Parašė ex-it· 2008 Gru. 10 15:12:38
#4
<?php ?> visur sudedi ir vsio
Parašė FoDD· 2008 Gru. 10 15:12:47
#5
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
openside("Svetaines statistika")
echo "<hr>
<b>Svetainės Statistika:</b><br>";
$result = dbquery("SELECT count(news_id) FROM ".$db_prefix."news");
echo "° Naujienų: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(article_id) FROM ".$db_prefix."articles");
echo "° Straipsnių: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");
echo "° Siuntinių: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(photo_id) FROM ".$db_prefix."photos");
echo "° Nuotraukų: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(weblink_id) FROM ".$db_prefix."weblinks");
echo "° Forumo pranešimų: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(comment_id) FROM ".$db_prefix."comments");
echo "° Komentarų: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(shout_id) FROM ".$db_prefix."shoutbox");
echo "° Šaukyklos pranešimų: [".dbresult($result, 0)."]<br>";
$result = dbquery("SELECT count(poll_id) FROM ".$db_prefix."polls");
echo "° Apklausų: [".dbresult($result, 0)."]<br>";
closeside();
require_once "side_right.php";
require_once "footer.php";
Pabandyk toki sukurti ir pavadink Svetaines statistika.php Ir per tinklalapio nuorodas pabandyk ikelti
Redagavo FoDD· 2008 Gru. 10 15:12:02
Parašė FLezAS· 2008 Gru. 10 15:12:21
#6
gerai pasidaryti ismokau ;)
o gal kas galite numesti man saukyklos bei vartotoju tinkle paneliu kodus (nekiskite man modifikaciju ne ju man reikia)aciu!!!
Redagavo FLezAS· 2008 Gru. 10 15:12:51
Parašė FLezAS· 2008 Gru. 10 20:12:49
#7
taigi turiu dar viena mazyti prasyma gal kas galite numesti koda kad pasisveikinima galeciau imesti y pridetinius ;)
Parašė Pakartoti slaptažodį· 2008 Gru. 10 20:12:33
#8
Kam tau to? :]
Parašė Saul1us· 2008 Gru. 10 20:12:08
#9
:D bl žaliapedis totalus