Valley ZnoteAAC Layout

Donor Valley ZnoteAAC Layout v1.5.4

Donate No permission to download

Alex

Administrator
Dev
Messages
2,372
Points
707
Hola amigo estoy usando esta layout pero no me funciona al crear un character, se queda pasmado.
ya cambie en config.php a las town correspondientes pero sigue sin funcionar
 

Attachments

  • Captura de pantalla 2023-12-05 220148.png
    Captura de pantalla 2023-12-05 220148.png
    157.6 KB · Views: 2
  • Captura de pantalla 2023-12-05 220201.png
    Captura de pantalla 2023-12-05 220201.png
    186.8 KB · Views: 2
<h1>Create Character</h1>
<?php
if (isset($_GET['success']) && empty($_GET['success'])) {
echo 'Congratulations! Your character has been created. See you in-game!';
} else {
if (empty($_POST) === false && empty($errors) === true) {
if ($config['log_ip']) {
znote_visitor_insert_detailed_data(2);
}
//Register
$character_data = array(
'name' => format_character_name($_POST['name']),
'account_id'=> $session_user_id,
'vocation' => $_POST['selected_vocation'],
'town_id' => $_POST['selected_town'],
'*' => $_POST['selected_gender'],
'lastip' => getIPLong(),
'created' => time()
);

user_create_character($character_data);
header('Location: createcharacter.php?success');
exit();
//End register

} else if (empty($errors) === false){
echo '<font color="red"><b>';
echo output_errors($errors);
echo '</b></font>';
}
?>
<form action="" method="post">
<ul><center>
<li>
Name:<br>
<input type="text" name="name">
</li><br>
<li>
<!-- Available genders to select from when creating character -->
Gender:<br>
<select name="selected_gender">
<option value="1">Male</option>
<option value="0">Female</option>
</select>
</li><br>
<li>
<!-- Available vocations to select from when creating character -->
Vocation:<br>
<select name="selected_vocation">
<?php foreach ($config['available_vocations'] as $id) { ?>
<option value="<?php echo $id; ?>"><?php echo vocation_id_to_name($id); ?></option>
<?php } ?>
</select>
</li><br>
<li>
<!-- Available genders to select from when creating character -->
Starting Town:<br>
<select name="selected_gender">
<option value="1">Dawnport</option>
</select>
</li><br>
<?php
$available_towns = $config['available_towns'];
if (count($available_towns) > 1):
?>
<li>
<!-- Available towns to select from when creating character -->
Town:<br>
<select name="selected_town">
<?php
foreach ($available_towns as $tid):
?>
<option value="<?php echo $tid; ?>"><?php echo town_id_to_name($tid); ?></option>
<?php
endforeach;
?>
</select>
</li><br>
<?php
else:
?>
<input type="hidden" name="selected_town" value="<?php echo end($available_towns); ?>">
<?php
endif;

/* Form file */
Token::create();
?>
<li>
<input class="play" type="submit" value="Create Char">
</li></center>
</ul>
</form>
<?php
}
include 'layout/overall/footer.php'; ?>
 
Hola amigo estoy usando esta layout pero no me funciona al crear un character, se queda pasmado.
ya cambie en config.php a las town correspondientes pero sigue sin funcionar
Hola ,

No sé exactamente qué hace esto, pero ocurre con uniform o xampp, si estás en uno de ellos cámbiate al otro y te funcionara.
 

Tibia Server Lists

#1 FEATURED US Ultron OT 1,260 / 5,000 EXPStages PROTO8.6 ENGINEUltron OT RANK PTS6.6 -9% VOTES0 #2 FEATURED US Nefera 0 / 0 EXPx1 PROTO15.20 ENGINECrystal Server RANK PTS5.9 +25% VOTES0 #3 FEATURED CL ZHYRAVEX 6 / 500 EXPx5 PROTO10.98 ENGINETFS 1.4.2 RANK PTS4.8 +100% VOTES0 #4 FEATURED ES Deixis 0 / 0 EXPStages PROTO1098 ENGINETFS RANK PTS4.0 -60% VOTES1 #5 DE DBU Online 209 / 400 EXP11 PROTO8.6 ENGINETFS 1.0 RANK PTS6.1 +1,000% VOTES0 #6 BR Exordion Legacy 53 / 2,000 EXPx2 PROTO7.72 ENGINEExordion RANK PTS5.7 +2% VOTES0 #7 MX Marlboro War 26 / 300 EXP999 PROTO8.6 ENGINETFS 0.3.7 RANK PTS5.5 -28% VOTES0 #8 BR Tibinha YurOts 20 / 150 EXPStages PROTO7.4 ENGINEYurOTS 1.5 RANK PTS5.5 +4% VOTES0 #9 US Wiki Ots 53 / 1,000 EXPx9999 PROTOcustom client ENGINETFS 1.4.2 RANK PTS5.0 +100% VOTES0 #10 ES JustRL FreeTC 1530 45 / 250 EXPx2 PROTO15.30 ENGINECrystal Server RANK PTS5.0 +17% VOTES0 #11 PL Lubelski 17 / 1,000 EXP200 PROTO7.6 ENGINELubelskiOTS 2.56.0 RANK PTS4.9 -17% VOTES0 #12 PL ReWar 0 / 2,000 EXPcustom PROTO8.6 ENGINEOther RANK PTS4.6 +100% VOTES0 #13 BR Turion Server 0 / 2,000 EXPx1 PROTO7.4 ENGINETurion 7.7 Project RANK PTS4.6 +170% VOTES0 #14 US Halera 0 / 0 EXPStages PROTO10.98 ENGINETFS 1.4.2 RANK PTS4.4 -82% VOTES0 #15 PL Velesta 0 / 1,000 EXP20 PROTO8.0 ENGINETFS 1.4.2 RANK PTS4.4 -100% VOTES0 #16 US BerethaOnline 0 / 2,000 EXPStages PROTO15.0 ENGINETFS RANK PTS4.3 -75% VOTES0 #17 ES Farlia Global 2026 0 / 333 EXPx5 PROTO15.25 ENGINEFarliaServ 1.525 RANK PTS4.0 -100% VOTES0 #18 SE MortalisOT Custom 0 / 500 EXP100x -1.2x PROTO10.98 ENGINEMortalisOT V1 RANK PTS4.0 -100% VOTES0 #19 RU Oldavia | 8.60 0 / 0 EXPx9999 PROTO8.6 ENGINETFS 1.3 RANK PTS3.9 +100% VOTES0 #20 BR Rethoria OpenToday 7.4 Custom 6 / 0 EXPx10 PROTO10.98 ENGINEOther RANK PTS3.7 +100% VOTES0 #21 US Rommania 0 / 3,000 EXPstages, x10 PROTO7.4 ENGINETFS 0.4 RANK PTS3.7 -89% VOTES0 #22 MX Maeli 0 / 150 EXPx10 PROTO10.98 ENGINETFS 1.4.2 RANK PTS3.5 -35% VOTES0 #23 ES DarkDragon EXPx10 PROTO8.6 ENGINECanary RANK PTS0.0 0% VOTES0
Top