menu homepage in popup
menu homepage in popup postato il 17/06/2018 19:40:50 nel forum programmazione, open source e hosting
Save a tutti, ho provato a modificare il menù mettendolo in una tabella orizzontale e ho caricato lo script per il popup ma questo purtroppo non va. Sto parlando dell'iscrizione.php del gdrcd 5.4. riporto il codice.
<?php
/** * Skin Advanced
* Markup e procedure della homepage
* @author Blancks
*/
?><div id="main">
<div id="site_width">
<div id="header">
<div class="login_form">
<form action="login.php" id="do_login" method="post"<?php if ($PARAMETERS['mode']['popup_choise']=='ON'){ echo ' onsubmit="check_login(); return false;"'; } ?>>
<div>
<span class="form_label"><label for="username"><?php echo $MESSAGE['homepage']['forms']['username'];?></label></span>
<input type="text" id="username" name="login1" />
</div>
<div>
<span class="form_label"><label for="password"><?php echo $MESSAGE['homepage']['forms']['password'];?></label></span>
<input type="password" id="password" name="pass1" />
</div>
<?php if ($PARAMETERS['mode']['popup_choise']=='ON'){ ?>
<div>
<span class="form_label"><label for="allow_popup"><?php echo $MESSAGE['homepage']['forms']['open_in_popup'];?></label></span>
<input type="checkbox" id="allow_popup" />
<input type="hidden" value="0" name="popup" id="popup">
</div>
<?php } ?>
<input type="submit" value="<?php echo $MESSAGE['homepage']['forms']['login'];?>" />
</form>
</div>
<h1><a href="index.php"><?php echo $MESSAGE['homepage']['main_content']['site_title']; ?></a></h1>
<div class="subtitle"><?php echo $MESSAGE['homepage']['main_content']['site_subtitle']; ?></div>
</div>
<div id="content">
<div class="sidecontent">
<table width="600" height="60" border="1">
<tbody>
<tr>
<th scope="col"><a href="popup.php?page=iscrizione" onClick="window.open(this.href, 'mappa', 'top=50, left=400, width=700, height=500, status=no, menubar=no, toolbar=no scrollbar=yes'); return false;"></a><?php echo $MESSAGE['homepage']['registration'];?></th>
<th scope="col"><a href="popup.php?page=regolamento" onClick="window.open(this.href, 'mappa', 'top=50, left=400, width=700, height=500, status=no, menubar=no, toolbar=no scrollbar=yes'); return false;"></a><?php echo $MESSAGE['homepage']['rules'];?></th>
<th scope="col"><a href="index.php?page=index&content=user_ambientazione"><?php echo $MESSAGE['homepage']['storyline'];?></a></th>
<th scope="col"><a href="index.php?page=index&content=user_razze"><?php echo $MESSAGE['homepage']['races'];?></a></th>
</tr>
</tbody>
</table>
<div class="side_modules">
<?php if (empty($RP_response)){ ?>
<strong><?php echo gdrcd_filter('out',$MESSAGE['homepage']['forms']['forgot']);?></strong>
<div class="pass_rec">
<form action="index.php" method="post">
<div>
<span class="form_label"><label for="passrecovery"><?php echo $MESSAGE['homepage']['forms']['email'];?></label></span>
<input type="text" id="passrecovery" name="email" />
</div>
<input type="submit" value="<?php echo $MESSAGE['homepage']['forms']['new_pass'];?>" />
</form>
</div>
<?php }else{ ?>
<div class="pass_rec">
<?php echo $RP_response; ?>
</div>
<?php } ?>
</div>
</div>
<br class="blank" />
</div>
<div id="footer">
<div>
<p><?php echo gdrcd_filter('out',$PARAMETERS['info']['site_name']), ' - ', gdrcd_filter('out',$MESSAGE['homepage']['info']['webm']), ': ', gdrcd_filter('out',$PARAMETERS['info']['webmaster_name']), ' - ', gdrcd_filter('out',$MESSAGE['homepage']['info']['dbadmin']),': ', gdrcd_filter('out', $PARAMETERS['info']['dbadmin_name']) ,' - ', gdrcd_filter('out',$MESSAGE['homepage']['info']['email']), ': <a href="mailto:', gdrcd_filter('out',$PARAMETERS['info']['webmaster_email']), '">', gdrcd_filter('out',$PARAMETERS['info']['webmaster_email']), '</a>.'; ?></p>
<p><?php echo $CREDITS, ' ', $LICENCE ?></p>
</div>
</div>
</div>
</div>
Grazie della risposta.
Pagine → 1
18/06/2018 09:45:43
Discussione spostata nel forum corretto: GDRCD e Open Source
18/06/2018 15:18:49 e modificato da sadly-noob il 18/06/2018 15:19:03
Ciao Prael, puoi trovare alcune dritte per ottenere il risultato che cerchi in questo thread: https://www.gdr-online.com/readforum.asp?id=222567 ↗
Pagine → 1
Rispondi alla Discussione Segui Discussione Inoltra Discussione Forum Programmazione, Open Source e Hosting Elenco Forum
Articoli, Interviste e altre Risorse!
Sea of Conquest ↗