50){
$stripName=substr($res_strip['screen_name'],0,50);
echo $stripName."..."." - ";
}else{
echo $res_strip['screen_name'];
}
?>
Embed Strip
Embed Strip
0 )
{
$allow = 0;
}else{
$allow = 1;
}
//setcookie("checksum-$nid","", time()+3600);
setcookie("allow_rating-$nid","", time()+3600);
if (isset($_COOKIE["checksum-$nid"]) && $_COOKIE["checksum-$nid"] == '0') {
//if (isset($_SESSION['checksum-'.$nid])) {
//$_SESSION['allow_rating-'.$nid]=0;
$_COOKIE["allow_rating-$nid"]=0;
//setcookie("checksum-$nid","0", time()+3600);
}
else {
//$_SESSION['allow_rating-'.$nid]=1;
$_COOKIE["allow_rating-$nid"]=1;
//setcookie("checksum-$nid","1", time()+3600);
}
$sql_avr = mysql_fetch_array(mysql_query("SELECT sum(`value`) AS stripsum, count(content_id) AS stripcount FROM `votingapi_vote` WHERE content_id='$nid'"));
$sum_of_strip = $sql_avr['stripsum'];
$count_of_strip = $sql_avr['stripcount'];
$average = round(($sum_of_strip/$count_of_strip));
$crate = $average;
//echo "avr:-".$crate;
?>
Rate the strip
";
?>
$_COOKIE['last-accessed']) {
//$paneindication = date("Y-m-d h:i:s",$_SESSION['user_time']);
$newclass = "box_red";
$alt = "New Pane";
//$_COOKIE['user-log']='0';
}
else {
$newclass = "null";
$alt = "";
}
}
$grayboxcond--;
$paneid = $res_strip1['pid'];
$ch_status = $res_strip1['chapter_status'];
$str_status = $res_strip1['strip_status'];
$childstatus = $res_strip1['pane_type'];
$mainpane_child = @mysql_query("SELECT * FROM cheese_pans WHERE parent_strip ='$paneid' ORDER BY pid DESC");
$mainpane_res = @mysql_num_rows($mainpane_child);
?>
"Right click" any pane using your mouse and select "copy" for editing to this box and "paste" to pane or click [here ] to create your own.
"Right click" any pane using your mouse and select "copy" for editing to this box and "paste" to pane or click [here ] to create your own.
".$namestrip."";
$mangstripDatee = $mangstrip['created_date'];
$cdate= explode(" ",$mangstripDatee);
$time = $cdate[1];
$dateexp=explode("-",$cdate[0]);
$y=$dateexp[0];
$m=$dateexp[1];
$d=$dateexp[2];
$mangstripDate = $m."/".$d."/".$y." ".$time;
?>
Manage
Manage
$_COOKIE['last-accessed']) {
//$paneindication = date("Y-m-d h:i:s",$_SESSION['user_time']);
$newclass = "box_red";
$alt = "New Pane";
//$_COOKIE['user-log']='0';
}
else {
$newclass = "null";
$alt = "";
}
}
?>
"Right click" any pane using your mouse and select "copy" for editing to this box and "paste" to pane or click [here ] to create your own.
"Right click" any pane using your mouse and select "copy" for editing to this box and "paste" to pane or click [here ] to create your own.
".$namestrip."";
$mangstripDatee = $mangstrip['created_date'];
$cdate= explode(" ",$mangstripDatee);
$time = $cdate[1];
$dateexp=explode("-",$cdate[0]);
$y=$dateexp[0];
$m=$dateexp[1];
$d=$dateexp[2];
$mangstripDate = $m."/".$d."/".$y." ".$time;
?>
Manage
Manage