<div class="forget"><a href="javascript:void(0)">Ati uitat parola?</a></div> <div class="check_left"> <label> <input class="check" type="checkbox" /><span>Tine-ma minte</span></label> </div> <button id="login">Intra</button> </form> <form id="recover-form" style="display:none;"> <input class="enter_form_text" value="adresa e-mail" name="remail" type="text" /> <div class="forget"><a href="javascript:void(0)">Logare</a></div> <button id="reset-password">Trimite</button> <div id="password-sended" class="check_left" style="display:none;"> <span style="color:green;">Parola noua a fost transmisa la adresa indicata</span> </div> </form> <div class="clear"></div> </div> <div id="reg_new_user"><a href="' . ROOT_HOST . 'registration">Inregistrarea</a> unui nou utilizator</div> </div> </div>'; } else { echo '<div id="registration"> <a href="#">' . GetUserEmail($bdd, $_SESSION['user_id']) . '</a> <a id="logout" href="#">Iesire</a> </div>'; } echo '<div class="clear"></div> </div> </div> ';
<?php require "../../class/connect.php"; require "../../class/q_functions.php"; require "../../class/db_sql.php"; require "../../data/dbcache/class.php"; require "../../class/user.php"; require "../../class/ShopSysFun.php"; eCheckCloseMods('shop'); //关闭模块 $link = db_connect(); $empire = new mysqlquery(); $editor = 1; //验证权限 ShopCheckAddDdGroup(); //用户信息 $user = array(); $user[userid] = 0; if (getcvar('mluserid')) { $user = islogin(); $email = GetUserEmail($user[userid], $user[username]); $r = $empire->fetch1("select truename,oicq,msn,`call`,phone,address,zip from {$dbtbpre}enewsmemberadd where userid='{$user['userid']}' limit 1"); } //导入模板 require ECMS_PATH . 'e/template/ShopSys/order.php'; db_close(); $empire = null;