Location: PHPKode > projects > Teacher Evaluation based on phpsurveyor > DONT USE/mod_evaluation/admin.php
<?php

/**
 * mod_evaluation admin page - frontend to admin scripts
 *
 * @version $Id$
 * @copyright 2003 
 **/

require_once "header.php";
?>
<h1><a href="admin.php">admin</a><br></h1>

<a href="admin.php?go=2">BatchcreateSurveys</a><br>
<a href="admin.php?go=3"> Batch delete all teacher Surveys</a><br>
<a href="admin.php?go=4"> surveytaken.php </a><br>
<a href="admin.php?go=1"> Reset Sid validthrough for all teachers</a><br>
<a href="admin.php?go=5"> statistics_frontend_html.php</a><br>
<a href="admin.php?go=6"> statistics_update.php</a>

<hr>

<?php
$go=@$_GET['go'];

if(!@$_GET['go'])
{
	$go="nothing";
}
else
{
	if($go=='1'){
		mysql_query("UPDATE TEACHER SET sidvalidthrough=0, pretoken_generated=0");
		echo "Reset Sidvalidthrough Affected rows:" . mysql_affected_rows();
	}elseif($go=='2'){require "batchcreatesurveys.php";
	}elseif($go=='3'){require "batchdeletesurveys.php";
	}elseif($go=='4'){require "surveytaken.php";
	}elseif($go=='5'){require "statistics_frontend_html.php";
	}elseif($go=='6'){require "statistics_update.php";}
	
}

require_once "footer.php";
?>
Return current item: Teacher Evaluation based on phpsurveyor