LoadVariables('get'); $page_title = stripslashes(str_replace( '_', ' ', $REWRITE[1])); include('header.php'); //debug($REWRITE); $do = new Query; mysql_query("UPDATE shocks SET s_clicks = (s_clicks + 1) WHERE s_id = '".$REWRITE[2]."'"); if(isset($_POST['newsId'])) { if(trim($_POST['name']) != '') { $name = addslashes(trim($_POST['name'])); } else { $errors[] = 'Please enter a name.
'; } if(trim($_POST['comment']) != '') { $comment = addslashes(trim($_POST['comment'])); } else { $errors[] = 'Please enter a comment
'; } if(check_email(trim($_POST['email']))) { $email = trim($_POST['email']); } else { $errors[] = 'Wrong email format
'; } if($_POST['securityCode'] != $_SESSION['security_code']) { $errors[] = 'Wrong security code
'; } if(empty($errors)) { $do = new Query; $sql = "INSERT INTO shocks_reviews (sr_site_id, sr_content, sr_from, sr_entry_date, sr_email) VALUES ('".$REWRITE[2]."','".$comment."','".$name."',NOW(),'".$email."')"; $do->doQuery($sql); //relocate('shock_profile.php?id='.$REWRITE[2]); } } $sql = "SELECT s_entry_date as n_entry_date, s_title as n_title, s_content as n_content, name, s_image_path FROM shocks WHERE s_id = '".$REWRITE[2]."';"; $do->doQuery($sql); $content = $do->getRows(); $row=mysql_fetch_array(mysql_query("select * from shocks where s_id='".$REWRITE[2]."'")); ?>
Shock Stats
Views:
Reviews:

create pool

All Polls 



_questions.html" > Questions

- _q.html" > by


&tip=Shocks" > Ask a Question about
SHOCKing Topics
Search SHOCKS



What is a "SHOCK!"?
Fact is: not all the news and gossip are important for us. Our editors team is trying to reveal only the shocking...the most impressive ones. Those which can have an impact on our minds and souls.
Of course you can decide whether is as stunning for you as it is for others. Do this by clicking on the left side on the news.
You may also
" class="class_font shock_suggest">Suggest a "SHOCK!"
Top 12 "SHOCKS!" Chart
doQuery($sql); $place = 0; while ($topRows = $do->getRows()) { $place++; ?>
">

view our shock archive
<?=$content['n_title']?>" border="0">


by

User reviews
fields = array( 'sr_site_id' => 'sr_site_id', 'sr_content' => 'sr_content', 'sr_from' => 'sr_from', 'sr_entry_date' => 'sr_entry_date', 'status' => 'status', 'sr_email' => 'sr_email' ); $pag->tables = array('shocks_reviews' => 'shocks_reviews'); $where = ' sr_site_id = '.$REWRITE[2].' and status="yes"'; $pag->where = $where != '' ? "where $where" : ''; $pag->order = ' ORDER BY sr_entry_date DESC '; $pag->per_page = 5; $pag->columns = 1; $pag->nr_letters = 10; $pag->table_border = 0; $pag->displayInfo = false; $pag->date_format = 'F d, Y'; // June 04, 2006 $pag->link = "path=Shock&shock=".$REWRITE[1]."&shockId=".$REWRITE[2].""; $pag->displayLinks = 'bottom'; // top or bottom //$pag->functions = array('unhtmlentities'); $pag->HTML = '
FIELD[sr_from] FIELD[sr_entry_date]
FIELD[sr_content]
'; echo $pag->Pagination(); ?>
page_links; ?>
$error) { echo $error; } } ?>
Post a review for:
Name: e-mail:
Review:
Security code: