Example #1
0
 public function DoOutput($include_menu = true, $include_header = true)
 {
     parent::DoOutput();
 }
Example #2
0
 public function DoOutput($include_menu = true, $include_header = true)
 {
     $this->PushOutput('</table></td></tr></table>');
     parent::DoOutput();
 }
    /**
     * Génère la page
     * @param boolean,array $include_menu Inclure le menu ? (voir son propre menu)
     * @param boolean $include_header Inclure l'entete ?
     */
    public function DoOutput($include_menu = true, $include_header = true)
    {
        $out = <<<ROW
        </td>
    </tr>
</table>
<SCRIPT type="text/javascript">
masquer("COOROUT",0);
afficher("USER",0);
afficher("EMPIRE",0);
afficher("INFOS",0);
masquer("AddTabRessource",0);
</SCRIPT></body></html>
ROW;
        $this->PushOutput($out);
        parent::DoOutput($include_menu, $include_header);
    }
 public function DoOutput($include_menu = true, $include_header = true)
 {
     $this->PushOutput("</TABLE>]]></content></CarteDetails>");
     parent::DoOutput();
 }
 public function DoOutput($include_menu = true, $include_header = true)
 {
     $this->PushOutput('</table>');
     parent::DoOutput();
     // false false ? header menu
 }
Example #6
0
    public function DoOutput($login_msg = '', $register = false)
    {
        if (DataEngine::config_key('config', 'closed')) {
            $closedhtml = <<<ch
\t<tr class="text_center color_header">
\t\t<td colspan="3">{$this->lng['currently_closed']}</td>
\t</tr>
ch;
            $register = false;
        } else {
            $closedhtml = '';
        }
        $action = $register ? $this->BASE_FILE : '?' . Get_string();
        $btn_text = $register ? $this->lng['register'] : $this->lng['signin'];
        $out = <<<BASE
<CENTER>
    <form name="LOG" method="post" action="{$action}">
\t<table class="table_nospacing color_bg">
\t<tr class="text_center color_bigheader">
\t\t<!-- Ne pas modifier -->
\t\t<td colspan="3">Empire Universe 2: Data Engine ({$this->version})<br/><br/></td>
\t\t<!-- Ne pas modifier /-->
\t</tr>
                {$closedhtml}
\t<tr class="color_row0">
\t\t<td>{$this->lng['player']} :</td>
\t\t<td><input class="color_row0" tabindex=1 type="text" value="" name="login" /></td>
\t\t<td rowspan=2 style='valign=center'><input class="color_row0" type="submit" value="{$btn_text}" /></td>
\t</tr>
\t<tr class="color_row0">
\t\t<td>{$this->lng['password']} :</td>
\t\t<td><input class="color_row0" tabindex=2 type="password" value="" name="mdp" /></td>
\t</tr>
BASE;
        if (DE_DEMO) {
            $out .= addons::getinstance()->Get_Addons('demo')->lng('login');
        }
        if (!$register && DataEngine::config_key('config', 'CanRegister') && !DataEngine::config_key('config', 'closed')) {
            $out .= <<<LOGIN
\t<tr class="color_row0 text_center">
\t\t<td colspan=3><a href='%ROOT_URL%register.php'>{$this->lng['newaccount']}</a></td>
\t</tr>
LOGIN;
        } elseif ($register) {
            $out .= <<<REGISTER
\t<tr>
\t\t<td colspan=3 align=center>{$this->lng['newaccount_warn']}<br/>
\t\t\t<input class="color_row0" type="button" value="{$this->lng['allreadyhaveone']}" Onclick="location.href='./logout.php'" /></td>
\t</tr>
REGISTER;
        }
        if ($login_msg) {
            $out .= <<<MSG
\t<tr>
\t\t<td colspan=3 id='titreTDtableau'><font color=red>{$login_msg}</font></td>
\t</tr>
MSG;
        }
        $out .= <<<FOOTER
                {$login_msg}
\t</table>
    </form>
</CENTER>
<!-- Ne pas modifier -->
<div style="position:absolute; bottom:5px; right:5px">
<address>
- Site officiel & support du <a href="https://code.google.com/p/eude/" target="_top" title="Site officiel">Data Engine</a><br/>
- <a href="https://code.google.com/p/eude/downloads/list" target="_top" title="Téléchargement">Téléchargement</a>
</address>
</div>
<!-- Ne pas modifier /-->
</body></html>
FOOTER;
        $this->PushOutput($out);
        parent::DoOutput(false);
        // false false ? menu header
    }
Example #7
0
 /**
  * Génère la page
  * @param boolean,array $include_menu Inclure le menu ? (voir son propre menu)
  * @param boolean $include_header Inclure l'entete ?
  */
 public function DoOutput($include_menu = true, $include_header = true)
 {
     $this->PushOutput('');
     parent::DoOutput($include_menu, $include_header);
 }