Yangi formatda davom etish uchun: https://uzfor.net/view.php?act=post&id=2852
Postga havola
SUHROBBEK [221] [off]
bu newsni bosh sahifaga surati bilan chiqazadigan kõd. men ishlata olmadim shuni 6 xx ga moslab berilar
<style> .blogs_list{ width:100%; margin:0px; padding:0; list-style-type:none; background:#ffffff; overflow:hidden; float:left; } .blogs_list li{ padding:8px 0px; overflow:hidden; border-bottom:1px solid #E7EBEE; } .blogs_list li h2{ margin:0px; padding:0px; font-size:12px; font-weight:normal; } .blogs_list li p{ margin:15px 0px 0px 0px; } .blogs_list li a{ color:#356AA0; text-decoration: none; } .blogs_list li a:hover{ text-decoration:underline; } .blogs_list li img{ margin-right:10px; border:1px solid #356AA0; } </style> <?php $lol[$res[0]] = $res[1]; $status = $lol['status']; $ulimit = $lol['ulimit']; $amatn = $lol['amatn']; $bolim = $lol['cat']; $oncat = $lol['oncat']; $onid = $lol['onid']; $cuser = $lol['cuser']; $notfound = $lol['notfound']; if($status == 1) { echo '<div class="phdr">So\'ngi yangiliklar</div>'; if($oncat OR $onid == 1) { $news_connect = mysql_query("SELECT * FROM `cms_news` WHERE `refid` = '$bolim' AND `user_id` = '$cuser' ORDER BY `time` DESC LIMIT 15"); } else { } $newsid = $here['id']; $ntitle = $here['name']; $getext = $here['text']; echo '<ul class="blogs_list"><li>'; echo '<img src="'.$set['homeurl'].'/files/news/news_'.$newsid.'.png" width="100" height="100" align="left"/>'; } else { echo '<img src="'.$notfound.'" width="60" height="60" align="left"/>'; } echo '<p><a href="'.$set['homeurl'].'/news/index.php?act=view&id='.$newsid.'"><b>'.$ntitle.'</b></a><p>' . '<p style="font:13px tahoma; color:gray; margin-top:15px;">'.$matn.' ..</p><p style="font:12px tahoma; color:gray; margin-top:15px;"><a href="'.$set['homeurl'].'/news/index.php?act=view&id='.$newsid.'">Davomi</a></p></li></div></ul>'; } }