Grow Your Business
See what services and
benefits are now available to our advertisers..
Advertising Info |
Career Opportunity
Interested
in a Career Change? Fish and Game® is looking for
qualified individuals looking for a change!
Email us for more information:
info@fishandgame.com |
|
-
|
$obj_cat=new connect();
$obj_cat->connect();
$cou=1;//flag to show mouse over menu
$obj_s=new connect();
$obj_s->connect();
$obj_art=new connect();
$obj_art->connect();
$sql_cat="select * from db_category where parentNum=0 and type='regular' order by globalOrder";
$obj_cat->query($sql_cat);
$num_rec=$obj_cat->num_rows();
while($obj_cat->next_row())
{
$arr1 = explode("&",$obj_cat->RECORD['image']);
/*echo("");
print_r($arr1);
echo(" ");*/
// 5/9/2008
$cate_name="";
$cate_id="";
$arr1 = explode("&",$obj_cat->RECORD['image']);
$cate_name = $obj_cat->RECORD['name'];
$cate_name.=" Archive";
$sql_s="select * from db_category where parentNum=0 and lower(name) like(lower('".$cate_name."%'))";
$obj_s->query($sql_s);
$num_recs=$obj_s->num_rows();
if($num_recs>0)
{
//echo($sql_s);
$obj_s->next_row();
$cate_id = $obj_s->RECORD['num'];
}
/*
Array
(
[0] => 3 _erased=0
[1] => _num=3
[2] => _order=3
[3] => align=left
[4] => caption=
[5] => extension=gif
[6] => filename=2003hunthd4.gif
[7] => hasThumbnail=1
[8] => height=26
[9] => isImage=1
[10] => linkTo=
[11] => linkUrl=
[12] => openLinkInNewWindow=0
[13] => pathFromUploadDir=1/2003hunthd4.gif
[14] => thumbnailFilename=2003hunthd4_thumb.gif
[15] => thumbnailHeight=14
[16] => thumbnailPathFromUploadDir=1/2003hunthd4_thumb.gif
[17] => thumbnailWidth=200
[18] => title=2003hunthd4.gif
[19] => useThumbnail=0
[20] => width=360
[21] => wrapText=1
)
*/
?>
if(str_replace("hasThumbnail=","",$arr1[7])!=0)
{
?>
 |
}
else
{
?>
Warning: Undefined variable $obj_cat in /var/www/vhosts/fishandgame.com/httpdocs/index.php on line 635
Warning: Attempt to read property "RECORD" on null in /var/www/vhosts/fishandgame.com/httpdocs/index.php on line 635
Warning: Trying to access array offset on value of type null in /var/www/vhosts/fishandgame.com/httpdocs/index.php on line 635
|
|
}
?>
$cat_num=$obj_cat->RECORD['num'];
$obj_sql="select * from db_article where categoryNum='$cat_num' and status='visible' order by featured desc";
$obj_art->query($obj_sql);
$num_rec1=$obj_art->num_rows();
while($obj_art->next_row())
{
$arr = explode("&",$obj_art->RECORD['image']);
$a_no = $obj_art->RECORD['num'];
/*
echo("");
print_r($arr);
echo(" ");
*/
?>
Warning: Undefined variable $obj_art in /var/www/vhosts/fishandgame.com/httpdocs/index.php on line 661
Warning: Attempt to read property "RECORD" on null in /var/www/vhosts/fishandgame.com/httpdocs/index.php on line 661
Warning: Trying to access array offset on value of type null in /var/www/vhosts/fishandgame.com/httpdocs/index.php on line 661
|
|
if(str_replace("thumbnailFilename=","",$arr[14])!="")
{
?>
echo $obj_art->RECORD['summary']?> |
 |
}
elseif(str_replace("thumbnailFilename=","",$arr[14])=="")
{
?>
echo $obj_art->RECORD['summary']?> |
}
?>
|
}
?>
if($cate_id!="")
{
?>
•
Warning: Undefined variable $cate_name in /var/www/vhosts/fishandgame.com/httpdocs/index.php on line 696
>>> |
$cate_id="";
$cate_name="";
} // end $cate_id
?>
|
//}// End of mouse over
} // end while loop of category
?>
// mouseover menus
if($cou++ ==1 )
{
?>
State DNR News/Purchase State Licenses |
|
•
Click here for DNR news in any state>>>
•
Click here to purchase your license in any state>>>
|
|
} ?>
|
|
|