16-12-2016
Code đăng nhập theo mỗi sub domain cho bạn nào làm wapbuilder ngay trên wapego
Tạo tệp tin đăng mhập sub » Thêm mã tiwg:
{% set host=api.r.createFromGlobals().Host %}
<div class="title">Đăng nhập</div>
<div class="gmenu">
<form action="http://{{host}}/main.php" method="get"><div class="center"><div class="center"><input name="id" value="log" type="hidden" />Tên nick<br /><input name="nick" maxlength="140" class="input" type="text" style="width:110px;" /><br />Mật khẩu <br /><input name="pass" maxlength="140" class="input" style="width:110px;" type="password" /><br /><font color="#0000FF"> Ghi nhớ </font><br /><select name="rem"><option value="1">Có</option><option value="2">Không</option></select><br /><input value=" Đăng Nhập " class="button" type="submit" /></div></div></form><br /></div>
Copy code
Xong r vào tập tin index » bao gồm tập tin khac » chọn đăng nhập sub
Nguồn: Taolap