<div class="content form_create"> <article> <header> <h1>Cadastrar Empresa:</h1> </header> <?php EchoMsg("Erro ao cadastrar", "Existem campos ogrigatórios sem preencher.", ALERT); EchoMsg("Erro ao cadastrar", "A logo da empresa deve ser em JPG ou PNG e ter exatamente 578x288px", ALERT); EchoMsg("Sucesso", "Empresa cadastrada com sucesso. <a target=\"_blank\" href=\"../empresa/nome_empresa\">Ver Empresa no Site</a>", ACCEPT); ?> <form name="PostForm" action="" method="post" enctype="multipart/form-data"> <label class="label"> <span class="field">Logo da empresa: <sup>Exatamente 578x288px (JPG ou PNG)</sup></span> <input type="file" name="cover" /> </label> <label class="label"> <span class="field">Nome da Empresa:</span> <input type="text" name="post_title" /> </label> <label class="label"> <span class="field">Ramo de atividade:</span> <input type="text" name="post_title" /> </label>
<tr> <td width="137" height="27" class="kasten" style="background-image:url(style/{$style}/hggif/hgtit.gif); background-repeat:no-repeat"> \t\t\t\t\t\t\t\t <div class="imkasten">{$ISCORRECT}</div> \t\t\t </td> <td width="27"> </td> <td> EOT; if ($CORRECT) { EchoMsg("CORRECT"); echo "</td></tr><tr><td width=\"27\" height=\"27\"> </td></tr></table>"; } else { EchoMsg("FALSE"); echo <<<EOT \t</td></tr> <tr> <td height="7" colspan="3"> </td> </tr> <tr> <td width="137" height="27" class="kasten" style="background-image:url(style/{$style}/hggif/hgtit.gif); background-repeat:no-repeat"> \t\t\t\t\t\t\t\t <div class="imkasten">{$CORRECTANSWER}</div> \t\t\t </td> <td width="27" height="27"> </td> <td height="*" rowspan="2">
<article> <?php extract($_SESSION['userlogin']); ?> <h1>Cadastrar Usuário!</h1> <?php EchoMsg("Erro ao cadastrar", "E-mail Informado não tem um formáto válido", INFOR); EchoMsg("Erro ao cadastrar", "Senha deve ter entre 6 e 12 caracteres!", INFOR); EchoMsg("Erro ao cadastrar", "Existem campos em branco, todos são obrigatórios!", ALERT); EchoMsg("Erro ao cadastrar", "E-mail informado está em uso por outra conta!", ERROR); EchoMsg("Usuário cadastrado", "O usuário foi cadastrado com sucesso!", ACCEPT); ?> <form action = "" method = "post" name = "UserCreateForm"> <label class="label"> <span class="field">Nome:</span> <input type = "text" name = "user_name" value="<?php if (!empty($ClienteData['user_name'])) { echo $ClienteData['user_name']; } ?> "
<?php extract($_SESSION['userlogin']); ?> <h1>Olá <?php echo "{$user_name} {$user_lastname}"; ?> , atualize seu perfíl!</h1> <?php EchoMsg("Erro ao atualizar", "E-mail Informado não tem um formáto válido", INFOR); EchoMsg("Erro ao atualizar", "Senha deve ter entre 6 e 12 caracteres!", INFOR); EchoMsg("Erro ao atualizar", "Existem campos em branco, todos são obrigatórios!", ALERT); EchoMsg("Erro ao atualizar", "E-mail informado está em uso por outra conta!", ERROR); EchoMsg("Ok", "Seus dados foram atualizados com sucess!", ACCEPT); ?> <form action = "" method = "post" name = "UserEditForm"> <label class="label"> <span class="field">Nome:</span> <input type = "text" name = "user_name" value = "<?php echo $user_name; ?> " title = "Informe seu primeiro nome" required
$quizfile = new quizfile($xmlfile); if ($quizfile->read_quizfile() != "ok") { EchoMsg("ERROR1", $xmlfile); $status = "fehler"; } else { $questionset = $quizfile->get_questionset($ID); if (!empty($questionset)) { $sesobj->set_questionset($questionset); $sesobj->set_file($xmlfile); } else { EchoMsg("ERROR3", $ID); $status = "fehler"; } } } else { EchoMsg("ERROR0"); $status = "fehler"; } } // Ergebnisse auswerten if ($status == "continue") { $qentries =& $sesobj->get_qentries(); if ($qindex >= count($qentries)) { $status = "auswertung"; } $qindexA = $qindex - $questionspersite; for ($i = 0; $i < $questionspersite; ++$i) { $li = $qindexA + $i; if (isset($qentries[$li])) { if ($qentries[$li]->get_typ() == "multi") { $qentries[$li]->evaluate_mc($_POST["_{$li}"]);
<div class="content form_create"> <article> <header> <h1>Criar Post:</h1> </header> <?php EchoMsg("Erro ao cadastrar:", "Existem campos ogrigatórios sem preencher.", ALERT); EchoMsg("Erro ao cadastrar:", "A capa deve ser JPG, PNG ou GIF com até 2MB!.", ALERT); EchoMsg("Sucesso:", "Seu post foi cadastrado com sucesso. <a target=\"_blank\" href=\"../artigo/titulo\">Ver Post</a>", ACCEPT); ?> <form name="PostForm" action="" method="post" enctype="multipart/form-data"> <label class="label"> <span class="field">Enviar Capa:</span> <input type="file" name="cover" /> </label> <label class="label"> <span class="field">Titulo:</span> <input type="text" name="post_title" /> </label> <label class="label"> <span class="field">Conteúdo:</span> <textarea class="js_editor" name="post_content" rows="10"></textarea> </label>