Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [showif [action]^login]
- [search db=/citi/coding/2020/km/llf/databases/members.db&equservardatarq=[user]&eqpassvardatarq=[pass]]
- [showif [numfound]=0][text]failedlogin=yes[/text][/showif]
- [founditems]
- [setcookie name=jmember&value=[sku]&expires=[format days_to_date %A, %d-%b-%Y][math]{[date]}+5[/math][/format] [math time]{[time]}+{05:00:00}[/math] GMT&path=/&domain=adventureskies.com]
- [setcookie name=jmember2&value=[secondaryvar]&expires=[format days_to_date %A, %d-%b-%Y][math]{[date]}+5[/math][/format] [math time]{[time]}+{05:00:00}[/math] GMT&path=/&domain=adventureskies.com]
- [redirect ../]
- [/founditems]
- [/search]
- [/showif]
- [showif [failedlogin]=yes]
- <h3><font color="white"> Incorrect Username and Password, Please try again.</font></h3>
- [/showif]
- [hideif [getcookie name=jmember]!]
- <h1>Sign In</h1>
- [getcookie name=jmember]<p>
- <form method="get" action="[thisurl]">
- <p>Username</p><br>
- <input type="text" name="user" ID="user" value="">
- </br>
- <p>Password</p><br>
- <input type="text" name="pass" ID="pass" value="">
- </br>
- <input type="hidden" name="action" value="login">
- <input type="submit" value="sign in">
- </form>
- [/hideif]
- [/showif]
- [showif [action]^logout]
- [setcookie name=jmember&value=[user]&expires=[format days_to_date %A, %d-%b-%Y][math]{[date]}-2[/math][/format] [math time]{[time]}+
- {05:00:00}[/math] GMT&path=/&domain=adventureskies.com]
- [setcookie name=jmember2&value=[user]&expires=[format days_to_date %A, %d-%b-%Y][math]{[date]}-2[/math][/format] [math time]{[time]}+
- {05:00:00}[/math] GMT&path=/&domain=adventureskies.com]
- [redirect ../]
- [/showif]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement