Location: PHPKode > projects > phpMyPrepaid > phpmyprepaid/www/include/divers/DbMgt.php
<?php

echo '<script type="text/javascript">';
echo "
function click_button(btname)
 {
	 var text=file('include/divers/db_mgt_script.php?dbmgt='+btname);
	 alert(text);
	 
 }
";
echo "</script>";
echo "<p class=\"information\">Database Management. </p>";
echo '<table style="text-align: left; " border="0"
	cellpadding="2" cellspacing="2">
	<tbody>
	<tr>
	</tr>
	<tr>
	<td>
	<input style="width: 180px;" type="submit" name="dallacct" class="smallButton" value="Delete all account"  onClick=\'javascript:click_button(this.name)\'>
	<td>
	<input style="width: 180px;" type="submit" name="dexpacct" class="smallButton" value="Delete expired account"  onClick=\'javascript:click_button(this.name)\'>
	</td>
	<td>
	<input style="width: 180px;" type="submit" name="dauacct" class="smallButton" value="Delete users accounting"  onClick=\'javascript:click_button(this.name)\'>
	</td>
	</tr>
	<tr>
	<td>
	<input style="width: 180px;" type="submit" name="dbp" class="smallButton" value="Delete billing plan"  onClick=\'javascript:click_button(this.name)\'>
	</td>
	<td>
	<input style="width: 180px;" type="submit" name="dap" class="smallButton" value="Del all access point"  onClick=\'javascript:click_button(this.name)\'>
	</td>
	<td>
	<input style="width: 180px;" type="submit" name="dal" class="smallButton" value="Del all locations"  onClick=\'javascript:click_button(this.name)\'>
	</td>
	</tr>
	<tr>
	<td>
	<input style="width: 180px;" type="submit" name="dag" class="smallButton" value="Del all groups"  onClick=\'javascript:click_button(this.name)\'>
	</td>
	<td>
	<input style="width: 180px;" type="submit" name="resetall" class="smallButton" value="Reset all"  onClick=\'javascript:click_button(this.name)\'>
	</td>
	</tr></tbody></tables>';

	
?>
Return current item: phpMyPrepaid