Location: PHPKode > projects > phpMyPrepaid > phpmyprepaid/www/include/reports/NeverUsedAccount.php
<?php

include ('../../config.inc.php');
if ($_GET['phpmyprepaid']) {
	$oreon_db = new OreonDatabase($conf_pra['host'], $conf_pra['user'] ,$conf_pra['password'] ,$conf_pra['db'] );
	$oreon_db->reload_session_popup($_GET['phpmyprepaid']);
}
echo "<br><br>Never Used Account  <span style=\"font-weight: bold;\"> </span>  &nbsp; &nbsp; &nbsp; Created the ";
echo '<span style="font-weight: bold;">';
echo date("d/m/Y H:m:s");
echo "<span><br>";

echo '
<br>
<br>
<br>
<table border="4" style="text-align: left; width: 914px; height: 58px;"
 cellpadding="2" cellspacing="2">
<tbody>
<tr border="4" style="text-align: left; width: 714px; height: 58px;"
 cellpadding="2" cellspacing="2">
<td border="1" style="width: 20%; background-color: rgb(192, 192, 192);">Name
</td>
<td border="1" style="background-color: rgb(192, 192, 192);">Type</td>
<td style="background-color: rgb(192, 192, 192);width: 30px;">Good For/Until</td>
<td border="1" style="background-color: rgb(192, 192, 192);width: 110px; ">Billing Plan</td>
<td border="1" style="background-color: rgb(192, 192, 192);width: 90px; ">Creation Date</td>
</tr>';

while ($row = $oreon->database->database->fetch_object($result)) {
 	$username=$row->Username; 
  	$type2=$row->Type;
  	$value=$row->Value;
  	$billingplan=get_plan_name($row->BillingPlan);
  	$CrDate=$row->CrDate;
	$value=get_user_Value($username,$type2,True,True);
	
echo ("<tr>
      <td >$username</td>
      <td >$type2</td>
      <td >$value</td>
      <td >$billingplan</td>
      <td >$CrDate</td>
      </tr>    
      ");
}

echo (" </tbody></table><br><br></body></html>");
?>
Return current item: phpMyPrepaid