Bu dil Kategorisini mevcut olan dil Paketine ekle:

Kategori: Start
Adi: LANG_START_STYLE
Icinde: Style sec..

index.php Ara:
[code]// read permissions
$permissioncache=getPermissions();[/code]


ÜstÜne ekle:
[code]/* ############## STYLEPOPDOWN ###########*/

$style_options="";

$result = $db->query("SELECT styleid, stylename FROM bb".$n."_styles ORDER BY stylename ASC");

while($row=$db->fetch_array($result))
{
/*unset("$usercount");*/
$usercounts = $db->fetch_array($db->query("SELECT COUNT(userid) as count FROM bb".$n."_users WHERE styleid=$row[styleid]"));

$style_options.='';
$r_styleid = $wbbuserdata['styleid'];
$db->unbuffered_query("UPDATE bb".$n."_users SET styleid='".intval($r_styleid)."'WHERE userid = '$wbbuserdata[userid]'",1);
$db->unbuffered_query("UPDATE bb".$n."_sessions SET styleid='".intval($r_styleid)."' WHERE sessionhash='$sid'", 1);
}[/code]


index.tpl Ara
[code]$header[/code]

altina bunu ekle:
[code]



[/code]

Olay Bu Kadar!!!

Beğeniler: 0
Favoriler: 0
İzlenmeler: 653
favori
like
share