include('backoffice/includes/common.php'); if(isset($_GET['stellingid'])) { $check = get_rows($query['stem'],"WHERE ip='".$_SERVER['REMOTE_ADDR']."' AND stellingid='".mysql_escape_string($_GET['stellingid'])."' ",'',true); if($check==0) { $add_data['stellingid'] =$_GET['stellingid']; $add_data['stem'] =$_GET['stem']; $add_data['lidid'] =$_SESSION['lidid']; $add_data['ip'] =$_SERVER['REMOTE_ADDR']; add_record('stem',$add_data); } } $soort=$_GET['t']; if ($soort=="") $soort=$_POST['soort']; if ($soort=='1') $cat="Politicus"; if ($soort=='2') $cat="Partij"; if ($soort=='3') $cat="Programma"; $stellingen = get_rows($query['stelling'],"WHERE (locatieid=".$locatieid.") AND (lidid='0') and (categorie='$cat')"); ?>
|
|||||||||||||||||||||