Puika1 Posted July 2, 2009 Report Share Posted July 2, 2009 kads var palīdzēt šim scriptam uzlikt ka nummurē pēc lapām? :) Quote Link to comment Share on other sites More sharing options...
GeRik Posted July 2, 2009 Report Share Posted July 2, 2009 itka jau Wuu ieprieksheja lapa rakstija ka varbut uzliks bet izskatas ka nerakstis :( Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted July 2, 2009 Report Share Posted July 2, 2009 Jā... skarbi. Nu, tad grandiozās ieceres paliks nerealizētas... Vai pa šīm pāris dienām tiešām nesanāca izpētīt "sadalīšanas pa lapām" jautājumu? Quote Link to comment Share on other sites More sharing options...
Wuu Posted July 2, 2009 Report Share Posted July 2, 2009 Būtu uzrakstījis ,bet foruma ir reģistrēti 2 lietotāji ,kaut kā savādā testēt vai ņemties slinkums. Pabeigšu kad portāls būs atvēries un būs vairāki reģistrēti lietotāji. Quote Link to comment Share on other sites More sharing options...
GeRik Posted July 2, 2009 Report Share Posted July 2, 2009 Wuu Vari iedot apskatiities es izmeginashu uz savu forumu ludzu! peetit arii pats peetiju bet 4ota nesanaca vislaik visadus errorus radija :( Quote Link to comment Share on other sites More sharing options...
Wuu Posted July 2, 2009 Report Share Posted July 2, 2009 Tieši ko man tev iedot? Quote Link to comment Share on other sites More sharing options...
Puika1 Posted July 3, 2009 Report Share Posted July 3, 2009 a kā vismaz var izdarīt lai ja nau avatara bilde tad kautkāda defult stāv? Quote Link to comment Share on other sites More sharing options...
GeRik Posted July 4, 2009 Report Share Posted July 4, 2009 ja man tas pats arii interese Quote Link to comment Share on other sites More sharing options...
LIONz Posted July 12, 2009 Report Share Posted July 12, 2009 <?php define('WWW','http://kaut kads webs/'); //Tavas web lapas adrese include_once('forums/conf_global.php'); //Celš uz foruma config failu $link = mysql_connect($INFO['sql_host'],$INFO['sql_user'],$INFO['sql_pass']); mysql_query('use '.$INFO['sql_database'].';'); $page = '<div id="userlist">'; $result = mysql_query('select t1.id,t1.members_display_name,t2.avatar_location from '.$INFO['sql_tbl_prefix'].'members t1 join '.$INFO['sql_tbl_prefix'].'member_extra t2 on (t1.id = t2.id);'); if (!empty($result)) { while ($r = mysql_fetch_array($result)) { if ($r[2] == "") { $avatars = "forums/uploads/default.jpg" ; } else { $avatars = "forums/uploads/$r[2]" ; } $page .='<p> <a href="'.WWW.'forums/index.php?showuser='.$r[0].'"> <img class="avatar" src="'. WWW .''. $avatars .'" alt="'.$r[1].'" /> '.$r[1].'</a> </p>'; } } $page .='</div>'; mysql_close($link); echo $page; ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.