$accounts = 0;
while($r = mysql_fetch_assoc($q)){
$total_accounts += $r['balance'];
$acounts++;
$accounts++;
?>
<tr class="listingRow<?php echo $k;?>">
<td align="right"><?php echo $r['account_id'];?></td>
</table>
<h4>Total amount in accounts: <?php echo number_format($total_accounts,8,".",",");?> BTC</h4>
</div>
<label>Name</label> <?php echo $_SESSION['name'];?>
<?php
$actAcount = end(explode("_",$_SESSION['btaccount']));
$tmp = explode("_",$_SESSION['btaccount']);
$actAcount = end($tmp);
$accountBalance = 0;
<div class="infoLine">
defined("_V") || die("Direct access not allowed!");
function isValidEmail($email){
return eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $email);
return preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/i", $email);
}
function makeSQLSafe($str){
return mysql_real_escape_string($str);
</head>
<body>
if($error){
if(isset($error) && ($error)) {
<div class="error"><?php echo $error;?></div>
</body>
</html>
if($fwd == 1 && !$fwdto) $e[] = "You must enter a bitcoin address to forward to!";
if(empty($e)){
$sql = "SELECT * FROM accounts WHERE account_name LIKE '$name' AND uid = {$_SESSION['id']} AND id != $aid";
$sql = "SELECT * FROM accounts WHERE account_name LIKE '$name' AND uid = {$_SESSION['id']}"; ## AND id != $aid";
$q = mysql_query($sql);
if(mysql_num_rows($q)) $e[] = "You already have another account with that same name!";
}else{
$error = implode("<br/>",$e);