Rol.Az Giriş Qeydiyyat Şifrə Bərpası
Salam, Qonaq!
Əsas Səhifə
Giriş
AzNeT`də ən sərfəli reklam yeri

Son Aktivlik

Master Forum | Arxiv Mövzular | Arxiv 1
Axtarış
  Chatda Bunu Duzeltmek.
LiL LiL [Off] [#] (30.07.2016 / 10:01)
Salam, dostlar necesiz?

Dostlar chatda bele bir shey isdeyirem

id 333 wexsin mesajini hec bir rutbeli oxuya bilmesin

Dj_M_M, e php verdim duzeltdi sagolsun. bawqa rutbeli id 333 un anketine girende orda mesaj oxuya bilmir.

Amma admin panelden baxanda yani umumi mesaja baxanda id 333 un mesaji gorunur isdeyiremki indi umumi mesajdada id 333 mesaji gorunmesin.

Hemin php atiram indi bura duzelde bilenler duzeldib atsin zehmet olmasa.
Dj_M_M Dj_M_M [Off] [#] (30.07.2016 / 10:04)
salam aleykum qaqam sene dedim axi sebrin olsun indi gelmiwem iwden duzelderem problem yoxdu.birazdan kompu yazdiracam kompu whatsapda yazarsan
LiL LiL [Off] [#] (30.07.2016 / 10:05)
Link budur

php in axirindaki zip silersiz.

http://susqun.ru/view_m.php.zip
LiL LiL [Off] [#] (30.07.2016 / 10:33)
Dj_M_M, Tesekkur edirem

php var sende vaxtin olanda duzeliw edib atarsan mene zehmet olmasa.
Dj_M_M Dj_M_M [Off] [#] (30.07.2016 / 10:48)
<?

require("inc.php");
$link = connect_db();
list($row, $id, $ps, $fsize1, $fsize2,$p_arr) = check_login($link);




if($p_arr['41']!=1){
$_v->title('Olmaz','center');
$_v->fsize1($fsize1);
echo "Buna h&#252;ququnuz yoxdur.<br/>----<br/>\n";
$_v->last_page();
echo "<a href=\"admin.php?id=$id&amp;ps=$ps&amp;ref=$ref\">Admin Panel</a><br/>\n";
$_v->fsize2($fsize2);
$_v->end('1',$link);
exit( );
}


if($p_arr['150']!=1 and $rm!=''){
$_v->title('Olmaz','center');
$_v->fsize1($fsize1);
echo "Buna h&#252;ququnuz yoxdur.<br/>----<br/>\n";
$_v->last_page();
echo "<a href=\"admin.php?id=$id&amp;ps=$ps&amp;ref=$ref\">Admin Panel</a><br/>\n";
$_v->fsize2($fsize2);
$_v->end('1',$link);
exit( );
}

if($p_arr['151']!=1 and $rm==''){
$_v->title('Olmaz','center');
$_v->fsize1($fsize1);
echo "Buna h&#252;ququnuz yoxdur.<br/>----<br/>\n";
$_v->last_page();
echo "<a href=\"admin.php?id=$id&amp;ps=$ps&amp;ref=$ref\">Admin Panel</a><br/>\n";
$_v->fsize2($fsize2);
$_v->end('1',$link);
exit( );
}

if($rm!=""){
$takep2="&amp;rm=$rm&amp;ref=$ref";
$baza = "zapiski";
$tname = "Mektublar";
$cname = "&#199;ata Qay&#305;t";
$fname = "chat";
$zname = "Mesajlar";
$takep3="&amp;ref=$ref";
}
else
{
$takep2="&amp;ref=$ref";
$baza = "mesaj";
$tname = "Mesajlar";
$cname = "Online Mesaj";
$fname = "on";
$zname = "Mektublar";
$takep3="&amp;rm=0&amp;ref=$ref";
}


$_v->title(''.$tname,'left');
$_v->fsize1($fsize1);

if($id=='1'){
$mysql_user_all = "select COUNT(klu4) from ".$baza." where idwho != '0' and idwho != '7'and idwho != '333;";
$mysql_user = "select COUNT(klu4) from ".$baza." where idwho = '".$nk."' or idtowhom = '".$nk."' and idwho != '0' and idwho != '7'and idwho != '333';";
$mysql_user_all2 = "select * from ".$baza." where idwho != '0' and idwho != '7'and idwho != '333 order by time desc limit";
$mysql_user2 = "select * from ".$baza." where idwho = '".$nk."' or idtowhom = '".$nk."' and idwho != '0' and idwho != '7'and idwho != '333 order by time desc limit";
}else{

if ($id=='7'){
$mysql_user_all = "select COUNT(klu4) from ".$baza." where idwho != '0' and idwho != '1' and idtowhom != '1'and idwho != '333' and idtowhom != '333';";
$mysql_user = "select COUNT(klu4) from ".$baza." where (idwho = '".$nk."' or idtowhom = '".$nk."') and (idwho != '0' and idwho != '1' and idtowhom != '1'and idwho != '333' and idtowhom != '333');";
$mysql_user_all2 = "select * from ".$baza." where idwho != '0' and idwho != '1' and idtowhom != '1' order by time desc limit";
$mysql_user2 = "select * from ".$baza." where (idwho = '".$nk."' or idtowhom = '".$nk."') and (idwho != '0' and idwho != '1' and idtowhom != '1'and idwho != '333' and idtowhom != '333') order by time desc limit";
}else{
$mysql_user_all = "select COUNT(klu4) from ".$baza." where idwho != '0' and idwho != '7' and idtowhom != '7' and idwho != '1' and idtowhom != '1'and idwho != '333' and idtowhom != '333';";
$mysql_user = "select COUNT(klu4) from ".$baza." where (idwho = '".$nk."' or idtowhom = '".$nk."') and (idwho != '0' and idwho != '7' and idtowhom != '7' and idwho != '1' and idtowhom != '1'and idwho != '333' and idtowhom != '333');";
$mysql_user_all2 = "select * from ".$baza." where idwho != '0' and idwho != '7' and idtowhom != '7' and idwho != '1' and idtowhom != '1' order by time desc limit";
$mysql_user2 = "select * from ".$baza." where (idwho = '".$nk."' or idtowhom = '".$nk."') and (idwho != '0' and idwho != '7' and idtowhom != '7' and idwho != '1' and idtowhom != '1'and idwho != '333' and idtowhom != '333') order by time desc limit";
}
}

if(empty($act)) {
if($nk!="")
$query = mysql_query($mysql_user);
else
$query = mysql_query($mysql_user_all);



$all = @mysql_result($query, 0);
if(!isset($s))$s=0;
$mx=round(($all/20)+0.45);
if($s>$mx)$s=$mx;
if($s==0)$s=1;
$ot=(($s-1)*20)+1;
$do=$s*20;
if($do>$all)$do=$all;
$o=$ot-1;
$ff=$ot;
if($do==0)$ff=$o;
if($nk!="")
$q = mysql_query($mysql_user2." $o,$do;");
else
$q = mysql_query($mysql_user_all2." $o,$do;");


if($nk!=""){
$us = mysql_query("select * from users where id = '".$nk."';");
if (mysql_affected_rows() == 0) {
echo "<b>Niki Bazadan Silinib</b>: leqebine aid ".$tname." (<b>$all</b>)<br/>*****<br/>";
}else{
$a = mysql_fetch_array($us);
echo "<b>".$a['user']."</b> - leqebine aid ".$tname.": (<b>$all</b>)<br/>*****<br/>";
}
echo "<a href=\"view_m.php?id=$id&amp;ps=$ps$takep2\">&#220;mumi ".$tname."</a>\n";
}else{
echo "<b>$tname</b>: (<b>$all</b>)<br/>*****<br/>";
echo "<a href=\"view_m.php?id=$id&amp;ps=$ps$takep2\">Yenile</a>\n";
}
if($p_arr['150']==1 and $p_arr['151']==1){
echo " | <a href=\"view_m.php?id=$id&amp;ps=$ps$takep3&amp;nk=$nk\">".$zname."</a>";
}
echo "<br/>----<br/>\n";
if($do==0){
echo "<i>Bu istifade&#231;iye aid $tname yoxdur.</i><br/>\n";
}else{
for ($i=$ot;$i<=$do;$i++){
$arr = mysql_fetch_array($q);
$kim=$arr['who'];
$kime=$arr['towhom'];
$mesag=$arr['message'];
$read = $arr["readd"];
$klu4 = $arr["klu4"];
$idtowhom = $arr["idtowhom"];
$idwho = $arr["idwho"];

if($idwho==$nk)
print " <b>$i)</b>-<i><a href=\"info.php?id=$id&amp;ps=$ps&amp;nk=$idwho&amp;ref=$ref\">".$kim."</a></i> &#187; ";
else
print " <b>$i)</b>-<i><a href=\"view_m.php?id=$id&amp;ps=$ps&amp;nk=$idwho$takep2\">".$kim."</a></i> &#187; ";

echo "<a href=\"view_m.php?id=$id&amp;ps=$ps&amp;nk=$idtowhom$takep2\">".$kime."</a>";
if(file_exists("photos/arxiv/".$arr["img"]) and isset($arr["img"])){
print "<b>|&gt;</b> <a href=\"images.php?img=photos/arxiv/".$arr["img"]."\"><img style=\"border-radius: 10px;\" src=\"image.php?img=photos/arxiv/{$arr["img"]}&amp;size=50\" alt=\".\"/></a><br/>";
}
print "<b>|&gt;</b>".$mesag."";

if($p_arr['152']==1){
echo "[<a href=\"view_m.php?act=".$klu4."&amp;id=$id&amp;ps=$ps&amp;s=$s$takep2&amp;nk=$nk\">x</a>]";
}
echo "<br/>\n";
}
}
echo "----<br/>";

$next=$s+1;
$prev=$s-1;
if($s>1) {
$ot=(($prev-1)*20)+1;
$do=$prev*20;
echo "<a href=\"view_m.php?id=$id&amp;ps=$ps&amp;s=$prev$takep2&amp;nk=$nk\">&lt;&lt;$ot</a>.\n";
}
$tes = $all/20;
$test = round($tes);
if (($all>$do)&&($test>$s)) {
$ot=(($next-1)*20)+1;
$do=$next*20;
if($do>$all)$do=$all;
echo " | <a href=\"view_m.php?id=$id&amp;ps=$ps&amp;s=$next$takep2&amp;nk=$nk\">$do&gt;&gt;</a>\n";
echo "<br/>";
}elseif($s>1) {
echo "<br/>";
}
if($all>20)echo "<br/>";

echo "<a href=\"admin.php?id=$id&amp;ps=$ps$takep2\">Admin Panel</a><br/>*****<br/>\n";
echo "<a href=\"$fname.php?id=$id&amp;ps=$ps$takep2\">$cname</a><br/>\n";

}

elseif($p_arr['152']==1){

$r = mysql_query ("Select * from `mesaj` WHERE `klu4`='".$act."' LIMIT 1;");
$arr = mysql_fetch_object($r);

if($act == $arr->klu4 && isset($arr->img)){
@unlink ("photos/arxiv/".$arr->img);
}

mysql_query ("delete from `".$baza."` where klu4 = '".$act."';");

echo "<u>Silindi</u>...<br/>";
echo $divide;
echo "<a href=\"view_m.php?id=$id&amp;ps=$ps&amp;s=$s$takep2&amp;nk=$nk\">Geri Qay&#305;t</a><br/>";
}



$_v->fsize2($fsize2);
$_v->end('1',$link);
?>
Dj_M_M Dj_M_M [Off] [#] (30.07.2016 / 10:49)
buyur hazirdi kopyala at php nin icine fso
Dj_M_M Dj_M_M [Off] [#] (30.07.2016 / 10:51)
Bawqa nese funk lazim olsa 055 616 98 52
LiL LiL [Off] [#] (30.07.2016 / 17:04)
Twk qaqa

davam
  Cemi: 8

Müellife göre filtreleme
Mövzunu Yükle

Foruma Keç

Üst Yenilikler
AzNeT`də ən sərfəli reklam yeri
porno indir