ALTER TABLE u_miembros ADD user_fondog VARCHAR(500) NOT NULL AFTER user_email
'email' => $tsCore->setSecure($_POST['email'], true),
'fondog' => $tsCore->setSecure($_POST['fondog']),
// ACTUALIZAR
if($save == 1) {
db_exec(array(__FILE__, __LINE__), 'query', 'UPDATE u_miembros SET user_email = \''.$tsCore->setSecure($perfilData['email'], true).'\' WHERE user_id = \''.$tsUser->uid.'\'');
array_splice($perfilData, 0, 1); // HACK
// ACTUALIZAR
if($save == 1) {
db_exec(array(__FILE__, __LINE__), 'query', 'UPDATE u_miembros SET user_email = \''.$tsCore->setSecure($perfilData['email'], true).'\', user_fondog = \''.$tsCore->setSecure($perfilData['fondog']).'\' WHERE user_id = \''.$tsUser->uid.'\'');
array_splice($perfilData, 0, 2); // HACK
</head>
{if $tsUser->info.user_fondog != ''}
<style type="text/css">
/* {literal} */
body {
background-attachment: fixed;
/* {/literal} */background-image:url({$tsUser->info.user_fondog}) !important;/* {literal} */
}
/* {/literal} */
</style>
{/if}
{if $tsConfig.c_allow_firma}
<div class="field">
<label for="fondo">Fondo:</label>
<input type="text" name="fondog" class="cuenta-save-1" value="{$tsUser->info.user_fondog}" size="60" />
</div>
<body style="background-image:url('{$tsInfo.p_fondo}');background-attachment: fixed; background-repeat: no-repeat;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;background-position: center;">
{if $tsInfo.p_fondo != ''}
<style type="text/css">
/* {literal} */
body {
background-attachment: fixed;
/* {/literal} */background-image:url({$tsInfo.p_fondo}) !important;/* {literal} */
}
/* {/literal} */
</style>
{/if}