Podrías pasarme el form que tu usas?
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menú<?php
$html = true;
require_once '../includes/core.php';
$function->session("yes");
$function->hk_access();
$page = "2";
$page_name = "Ajustes";
$tinymce = true;
require_once 'templates/navi.php';
$newsid = $function->filter($_GET['username']);
if($_GET['do'] == "created"){
$name = $function->filter($_POST['username']);
$credits = $function->filternews($_POST['credits']);
$vip_points = $function->filternews($_POST['vip_points']);
$motto = $function->filter($_POST['motto']);
$staff_pin = $function->filternews($_POST['staff_pin']);
$referidos = $function->filternews($_POST['referidos']);
$real_name = $function->filter($_POST['real_name']);
$mail = $function->filter($_POST['mail']);
//CHECKS
$name_check = $function->name_check($name);
$credits_check = $function->credits_check($credits);
$vip_points_check = $function->vip_points_check($vip_points);
$motto_check = $function->motto_check($motto);
$staff_pin_check = $function->staff_pin_check($staff_pin);
$referidos_check = $function->referidos_check($referidos);
$real_name_check = $function->real_name_check($real_name);
$mail_check = $function->mail_check($mail);
if(empty($name) || empty($credits) || empty($vip_points) || empty($motto) || empty($staff_pin) || empty($referidos) || empty($real_name) || empty($mail)){ $message = "No has rellenado todos los campos."; }
//fin de checks
mysql_query("UPDATE users SET credits = '{$credits}', vip_points = '{$vip_points}', motto = '{$motto}', staff_pin = '{$staff_pin}', referidos = '{$referidos}', real_name = '{$real_name}', mail = '{$mail}' WHERE username = '{$name}'");
$message = "<div id=\"good\">Cambios efectuados correctamente <img src=\"". PATH_I ."/manage/images/check.gif\"></div> ";
$_SESSION['RESULT_HK'] = $message;
}
?>
<div id="column_2">
<div id="box">
<div class="box_title blue">Creando una noticia</div>
<div class="in_box">
<form action="<?php echo PATH_HK; ?>/credits.php?do=created" method="post" name="theAdminForm" id="theAdminForm">
<table width='100%' cellspacing='0' cellpadding='5' align='center' border='0'>
<tr>
<td class='tablerow1' width='40%' valign='middle'><b>Usuario</b><div class='graytext'></div></td>
<td class='tablerow2' width='60%' valign='middle'><input type='text' name='username' size='30' class='textinput'></td>
</tr>
<tr>
<td class='tablerow1' width='40%' valign='middle'><b>Creditos</b><div class='graytext'></div></td>
<td class='tablerow2' width='60%' valign='middle'><input type='text' name='credits' size='30' class='textinput'></td>
</tr>
<tr>
<td class='tablerow1' width='40%' valign='middle'><b>Puntos</b><div class='graytext'></div></td>
<td class='tablerow2' width='60%' valign='middle'><input type='text' name='vip_points' size='30' class='textinput'></td>
</tr>
<tr>
<td class='tablerow1' width='40%' valign='middle'><b>Misión</b><div class='graytext'></div></td>
<td class='tablerow2' width='60%' valign='middle'><input type='text' name='motto' size='30' class='textinput'></td>
</tr>
<tr>
<td class='tablerow1' width='40%' valign='middle'><b>Pin de seguridad</b><div class='graytext'></div></td>
<td class='tablerow2' width='60%' valign='middle'><input type='text' name='staff_pin' size='30' class='textinput'></td>
</tr>
<tr>
<td class='tablerow1' width='40%' valign='middle'><b>Referidos</b><div class='graytext'></div></td>
<td class='tablerow2' width='60%' valign='middle'><input type='text' name='referidos' size='30' class='textinput'></td>
</tr>
<tr>
<td class='tablerow1' width='40%' valign='middle'><b>Twitter</b><div class='graytext'></div></td>
<td class='tablerow2' width='60%' valign='middle'><input type='text' name='real_name' size='30' class='textinput'></td>
</tr>
<tr>
<td class='tablerow1' width='40%' valign='middle'><b>Email</b><div class='graytext'></div></td>
<td class='tablerow2' width='60%' valign='middle'><input type='text' name='mail' size='30' class='textinput'></td>
</tr>
<tr>
</tr><tr><td align="center" class="tablesubheader" colspan="2"><input type="submit" name="submit" value="Guardar" class="realbutton" accesskey="s"></td></tr>
</tbody></table>
</div>
</form>
</div>
</div>
</div>
<div id="footer"><?php echo $info['footer']; ?></div>
</body>
</html>