title; $ic=$obj->picture; $ic2=$obj->picture2; $ic3=$obj->url; $ic4=$obj->url2; $postabout=$obj->postabout; $source=$obj->source; $fullstory=$obj->fullstory; $postabout=str_replace("\n","
",$postabout); $fullstory=str_replace("\n","
",$fullstory); $numviews=$obj->numviews; if(!empty($keyword)) { $postabout=str_replace($keyword,"$keyword",$postabout); $fullstory=str_replace($keyword,"$keyword",$fullstory); } $categoryid=$obj->categoryid; $contr=$obj->contributor; $user=$obj->username; if($contr=="")$contr="N/A"; if($user!="") $contr="".$contr.""; $cookie = $_COOKIE['viewed']; if(strpos($cookie,"$recid")==false){ mysql_query("update article set numviews=numviews+'1' where articleid='$recid'"); $numviews += 1;} $date=date("n-d-Y",strtotime($obj->upldate)); setcookie("viewed","$cookie $recid",time()+(3600*24)); $date2 = $obj->upldate; $seconds = strtotime('now') - strtotime($date2); $minutes = $seconds / 60; $hours = $minutes / 60; if($hours < 24 AND $user == $ses_username) { $edit = "y"; } } else { $nomember=true; } ?>
"; } ?>

$mmessage";} if($ic<>"" OR $ic2<>"" OR $ic3 <>"" OR $ic4<>"") { if(!empty($ic)){ $main = $recid.'A'.$ic; } elseif(!empty($ic2)){ $main = $recid.'B'.$ic2; } elseif(!empty($ic3)){ $main = $recid.'C'.$ic3; } elseif(!empty($ic4)){ $main = $recid.'D'.$ic4; } ?> 400) print "width='400'"; ?>>

"; } if(!empty($ic2)) { $pic2=$recid.'B'.$ic2; echo "
"; } if(!empty($ic3)) { $pic3=$recid.'C'.$ic3; echo "
"; } if(!empty($ic4)) { $pic4=$recid.'D'.$ic4; echo "
"; } ?>
title)>=29) $title=substr($obj->title,0,29)."..."; else $title=$obj->title; if(strlen($obj->fullstory)>=145) $content=substr($obj->fullstory,0,145)."..."; else $content=$obj->fullstory; ?>
articleid\">".$title; ?>

  Contributor
Added on:
Rating
Viewed times
Source: $source


Edit This Article [24 Hrs]";} else {echo "";} ?>

Was this article worthwhile?
Not at all I don't know Yes it was.
 

title)>=29) $title=substr($obj->title,0,29)."..."; else $title=$obj->title; if(strlen($obj->fullstory)>=145) $content=substr($obj->fullstory,0,145)."..."; else $content=$obj->fullstory; $size = @getimagesize( "pics/{$obj->articleid}{$obj->picture}" ); if($size[0] > 150){ $size = 150;} else { $size = $size[0]; } echo "articleid}{$obj->picture}\" width=\"$size\">"; ?>
articleid\">".$title; ?>

10) { if($start-10<0) $x=0; else $x=$start-10; $z=$i-($start+10); if($z>10) $z=10; $y=$start+10; echo ""; } ?>
rank; $thresholds[] = $r->threshold; } while($obj=mysql_fetch_object($result)) { $username=$obj->byusername; // $comment="$username posted on ".date("n-d-Y",strtotime($obj->postdate))."

$obj->comment

    REPLY    
Comments Posted

"; $sql = "SELECT * FROM articlesmembers WHERE username='$username'"; $rs = mysql_query($sql) or die(mysql_error()); $o = mysql_fetch_object($rs); //echo mysql_num_rows($rs); $num = 0; for($i = 0; $i < count($thresholds); $i++) { if($o->postcount >= $thresholds[$i]) { if($o->postcount < $thresholds[$i+1]); { $num = $i; } } } $posts = $o->postcount; $rank = $ranks[$num]; ?>
postcount; ?> Posts

picture;} ?>">
postdate)); ?> REPLY
comment ) ) ); ?>


  "; if($start!=0) echo "Previous 10 comments"; if($start+11<=$i) echo " Next $z comments"; echo "

  Post Comment