UselessJunk.com - Recent Visitor Uploads login_chk(); $objdata = new dbdata(); //$obj = new dbdata(); ?>
UJ Network Menu: videos | pictures | upload! | forum | tools | my account NEW! ujNetwork.com
  query($article_sql); $numrows = mysql_num_rows($count_res); $countRec=$numrows; if(empty($page)) { $page=1; } $limitvalue=$page * $limit - ($limit); if($Id=='open') { $sql_article="SELECT * from ".ARTICLE_TABLE." where fld_article_status='open' and fld_article_type='nsfw' or fld_article_status='open' and fld_article_type='sfw' order by fld_article_id desc LIMIT $limitvalue,$limit"; } else { $sql_article="SELECT * from ".ARTICLE_TABLE." where fld_article_status='open' and fld_website='".$_REQUEST['id']."' order by fld_article_id desc LIMIT $limitvalue,$limit"; } $res_article = mysql_query($sql_article); if(!$res_article) echo $sql.mysql_error(); else $reccount_article = mysql_num_rows($res_article); $ColoumVar=0; while($row_article = mysql_fetch_array($res_article)) { $article_id=$row_article['fld_article_id']; $cat_id=$row_article['fld_cat_id']; $topic_id=$row_article['fld_topic_id']; $type=$row_article['fld_article_type']; $comments=$row_article['fld_article_comment']; $score=$row_article['fld_article_score']; $rate=$row_article['fld_article_rating']; $ImageName=$row_article['fld_path']; $website=$row_article['fld_website']; /*$fullArt=$row_article['fld_article_body']; $showArt=substr($fullArt,0,strpos($fullArt,'>')); */ ?> '; } else if($ColoumVar%2==0 && $ColoumVar!=0) { echo ''; } ?>