Created
June 2, 2012 15:28
-
-
Save JackieXu/2858825 to your computer and use it in GitHub Desktop.
Xu.gd - URL Shortener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Xu.gd - URL Shortener | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action="/ajax/newlink" id="shorten_box"> | |
<input type="text" name="xugd_link" placeholder="Long URL" /> | |
<input type="submit" value="Shorten" /> | |
</form> | |
<div id="member_area"> | |
<form method="post" action="/ajax/register"> | |
<input type="text" name="xugd_email" placeholder="E-mail" /> | |
<input type="password" name="xugd_pass_one" placeholder="Password" /> | |
<input type="password" name="xugd_pass_two" placeholder="Repeat password" /> | |
<input type="submit" value="Register" /> | |
</form> | |
<form method="get" action="/ajax/login"> | |
<input type="text" name="xugd_email" placeholder="E-mail" /> | |
<input type="password" name="xugd_pass" placeholder="Password" /> | |
<input type="submit" value="Log in" /> | |
</form> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment