FOLLOW US  

 =1)){ $db->set_Rating($newsid,$Rating); } $PicturePath = "./photo/"; $FilePath = "./data/"; $result = $db->getnewsbyid($newsid); $title = $result[0]["title"]; $description = $result[0]["description"]; $catalogid = $result[0]["catalogid"]; $author = $result[0]["author"]; $content = $result[0]["content"]; $picture = $result[0]["picture"]; $fileref = $result[0]["fileref"]; $picturepath = "./photo/"; $filepath = "./data/"; $viewnum = $result[0]["viewnum"]; $sourceurl = $result[0]["sourceurl"]; $source = $result[0]["source"]; $adddate = $result[0]["adddate"]; //$db->addhitalumni($viewnum,$newsid); $Rate = $result[0]["rating"]; $Rate1 = $Rate*10; $Rate2 = ceil($Rate1); $Rate = $Rate2/10; $prenumber = 1; $nextnumber = 1; $pre[0] = $newsid-1; for ($i=1; $i<=$prenumber-1; $i++){ $pre[$i] = $pre[$i-1]-1; } $next[0] = $newsid+1; for ($i=1; $i<=$nextnumber-1; $i++){ $next[$i] = $next[$i-1]+1; } ?>




Practice
 


Links


 
Copyright � 2011. Angeles & Canlas Law Office. All Rights Reserved.