To post a comment or review, you can either log in...
';
$log2headline ='OR Post a as a guest (a new window will open)';
$size = 'style="width:50%"';
}
if ($addrec == 1 && $directadd == 1){
$logheadline = 'To submit a recipe, you must log in...
';
$log2headline ='';
//$log2headline ='OR Post a submit a recipe as a guest (register as a recipEbox member to get priority status)';
$size = 'style="width:50%"';
}
//$showallarts .= '
RBOX;
$pageform2 = <<
RBOX;
if (!$log2headline){
function currusercount() {
$cservememcache = @new Memcache;
@include "/home/chilidog/public_html/mcacheconn.php";
if (!@$cservememcache->connect("$datacip", $datacport,$datatimeout)) { @$cservememcache->connect("$datacip", $datacport,$datatimeout); }
$cservesetname = 'currentuserloginpage';
$cserve = @$cservememcache->get($cservesetname);
if (!$cserve) {
$resultb = @mysql_query("SELECT count(userId) as regmem FROM user");
while ($q3 = @mysql_fetch_array($resultb)) {
$signupsn = $q3['regmem'];
}
$cserve = $signupsn;
@$cservememcache->set($cservesetname, $cserve, false, 86301); //save it for 60 seconds, uncompressed
}
//return the array
return $cserve;
}
$signupsn =currusercount();
$size = 'style="width:50%"';
$log2headline = '
'.$signupsn.' Registered Members!
';
}
/*$showallarts .= <<log in
$logheadline
$loginformhtml
$log2headline
RBOX;
*/
$h1tag ='Organize your recipes in one place and access them from anywhere! (for free!)';
$showallarts .='
Recipe Clipper
Save recipes from any website in one convenient location with just the click of a button. Once saved you can search, sort, and share.
Add Original Recipes
Skip the scraps of paper and save your most precious recipes online. Access them on your computer, tablet, or phone at any time.
Other Member Perks
Members can upload photos on CDKitchen recipes, write reviews, and access our members-only message board.
';
/*
$showallarts .= '
↓ or ↓ sign up!
';
$showallarts .='
Create your own online cookbook Bookmark and tag your favorite CDKitchen recipes Upload photos of recipes Create a webpage of your favorite recipes to share with friends Easy access to your recipes from any computer Categorize recipes so they are easier to find Mingle with our cooking community in the members only forums And it\'s free!
';
$showallarts .='';
*/
$pageform .= <<
*Required Info
*username:
No symbols or spaces and greater than 4 characters long.
*email:
The correct format for an email address is: yourname@somedomain.comDOUBLE CHECK YOUR TYPING!! If your address has a typo or is invalid you will not be able to receive your password!
real name: optional
When you hit "submit" you will be brought back to the login screen. A welcome message will be emailed to you immediately with your password. To log in, type in your username and password as shown in the email to enter your recipe box.
By proceeding, you acknowledge and agree to the recipe box Terms of Service
RBOX;
$pageform = <<
RBOX;
//Required security measure - check the box below that says "I'm not a robot:
//$pageform = '
New user registration is offline for maintenance
';
$showallarts .='
'.$pageform.'
'.$pageform2.'
'.number_format(round($signupsn, -3)).'+members!
';
function latestphotos($currhr) {
$cservememcache = @new Memcache;
@include "/home/chilidog/public_html/mcacheconn.php";
if (!$cservememcache->connect("$datacip", $datacport,$datatimeout)) { $cservememcache->connect("$datacip", $datacport,$datatimeout); }
$cservesetname = 'latestphotoslogin';
$cserve = @$cservememcache->get($cservesetname);
if (!$cserve) {
$blog = mysql_query("SELECT cdkimages.imgurl,cdklinks.link2,cdklinks.title FROM cdkimages,cdklinks where cdkimages.status=1 and user_id != 468 and cdkimages.mid=cdklinks.mid order by uploaddate desc,cdkimages.idx desc limit 5");
while ($blogrow = @mysql_fetch_array($blog)) {
$phototitle= htmlentities(stripslashes($blogrow['title']));
$imgurl= $blogrow['imgurl'];
$link2= $blogrow['link2'];
//$latestphotos.='