'; $ad_160x600 = 'UGC_RecipEbox_160x600'; $ad_728x90 = 'UGC_RecipEbox_728x90'; $ad_468x60 = 'UGC_RecipEbox_468x60'; if ($ad_728x90){ $ad_728x90 = $ad_728x90; }else{ $ad_728x90 = 'Misc_728x90'; } if ($ad_300x250){ $ad_300x250 = $ad_300x250; }else{ $ad_300x250 = 'Misc_300x250'; } if ($ad_160x600){ $ad_160x600 = $ad_160x600; }else{ $ad_160x600 = 'Misc_160x600'; } if ($ad_468x60){ $ad_468x60 = $ad_468x60; }else{ $ad_468x60 = 'Misc_468x60'; } if ($ad_prime1){ $ad_prime1 = $ad_prime1; }else{ $ad_prime1 = 'Misc_Prime1'; } if ($ad_prime2){ $ad_prime2 = $ad_prime2; }else{ $ad_prime2 = 'Misc_Prime2'; } $db = @mysql_select_db("chilidog_recipes"); ?> <?php echo $rectitle;?> 1){ $photobyname = $rrow3[realname]; }else{ $photobyname = $rrow3[username]; } } $showallarts .='

'.$photobyname.'\'s Recipe

'; $showallarts .='Page url: http://recipebox.cdkitchen.com/'.$submitted.'/myrecipes.html
'; $q = mysql_query("SELECT * FROM user_recipes where userId = $submitted and idx=$ridx limit 1"); $numrowsb=@mysql_num_rows($q); if ($numrowsb == 0){ header ("Location: http://recipebox.cdkitchen.com/"); exit; } while ($q2 = @mysql_fetch_array($q)) { $resultb = @mysql_query("SELECT categoryName,categoryId FROM category where categoryOwner=$submitted and categoryId={$q2['catId']}"); while ($q3 = @mysql_fetch_array($resultb)) { $categoryName = $q3['categoryName']; $categoryId = $q3['categoryId']; } $recbody = str_replace("\n\n", '

', htmlentities($q2['recbody'])); $recbody = str_replace("\n", '
', $recbody); $recbody = str_replace("@", '-at-', $recbody); $recbody = str_replace(".com", '-dot-com', $recbody); $recbody = stripslashes($recbody); $pagetitle = $q2['title']; $showallarts .= '

'.stripslashes($q2['title']).'

Category: '.$categoryName.'

'.$recbody.'

'; } echo '

'; $logo2 = '
'; $logo = $logo2.'CDKitchen

'; $google = ''; $copyyear = date("Y"); $showallarts .= '
Visit http://recipebox.cdkitchen.com to create your own free online cookbook!

This recipe hosted at CDKitchen http://www.cdkitchen.com
© 1995-'.$copyyear.' CDKitchen, Inc.
'; echo '

Use the print button on your browser to print   |   Click here to return to recipe   

'; echo '
'; ?>
>

'.$google.'


'; echo '
'; }else{ ?> '.$google.''; } ?>