 |
$ckdata=$_COOKIE['CANreport_'.$region[$rregionid].'_'.$rticker.'_'.$id];
if(!empty($ckdata)){
$bm=split(",", substr($ckdata, 0, strlen($ckdata)-1));
sort($bm);
$page=$page==""?"1":$page;
$itemperpage=10;
$totalbm=count($bm);
$totalpages=ceil($totalbm/$itemperpage);
?>
Warning: Undefined variable $txmybookmarks in /www/html/canreport/bookmarks.php on line 60
|
Warning: Undefined variable $version in /www/html/canreport/bookmarks.php on line 61
Warning: Undefined variable $txtotal in /www/html/canreport/bookmarks.php on line 61
Warning: Undefined variable $totalbm in /www/html/canreport/bookmarks.php on line 61
Warning: Undefined variable $txpages in /www/html/canreport/bookmarks.php on line 61
|
|
$start=($page-1)*$itemperpage;
$end=min($page*$itemperpage, $totalbm);
for($i=$start; $i<$end; $i++){
$imgfile=$targetpath."pic/".sprintf("%0".$nop."d", $bm[$i])."_t.jpg";
$sql="select subject from canreport_toc where ticker='$rticker' and id=$id and page<=".$bm[$i]." order by page desc limit 0, 1";
$rs=mysql_query($sql, $link);
list($subject)=mysql_fetch_array($rs);
$sql="select content from canreport_content where ticker='$rticker' and id=$id and page=".$bm[$i];
$rs=mysql_query($sql, $link);
list($content)=mysql_fetch_array($rs);
$content=getsubstr($content, 800, $charset);
?>
|
}
?>
|
if($page>1){
?>
Warning: Undefined variable $txprev in /www/html/canreport/bookmarks.php on line 117
|
}
?>
Warning: Undefined variable $page in /www/html/canreport/bookmarks.php on line 121
Warning: Undefined variable $txof in /www/html/canreport/bookmarks.php on line 121
Warning: Undefined variable $totalpages in /www/html/canreport/bookmarks.php on line 121
if($page<$totalpages){
?>
|
Warning: Undefined variable $txnext in /www/html/canreport/bookmarks.php on line 125
|
}
?>
|
|
}else{
?>
Warning: Undefined variable $txmybookmarks in /www/html/canreport/bookmarks.php on line 146
|
Warning: Undefined variable $version in /www/html/canreport/bookmarks.php on line 147
Warning: Undefined variable $txtotal in /www/html/canreport/bookmarks.php on line 147
Warning: Undefined variable $txpages in /www/html/canreport/bookmarks.php on line 147
0 |
|
}
?>
 |
|
|