View file wapirate/wml/smiley.php

File size: 2.28Kb
<?php

include("head.php");

/////////////////////////////////////////////////main page

else if($action=="main")

{

echo "<card id=\"main\" title=\"$sitename\">";

addonline(getuid_sid($sid),"Smiley Generator","");

echo "<p align=\"center\">";

echo "<img src=\"/smilies/har.gif\" alt=\"\"/><br/>";

echo "<b><small><u>Creat Your Own Personal Smilie.</u></small></b><br/>

<small>Remember, if you want to make a space use <b>+</b> where you want the space to be.</small><br/>";



echo "<b>Enter Your Text:</b><br/> <input name=\"logo\" maxlength=\"30\"/><br/>";

echo "<anchor>Create";

echo "<go href=\"smiley.php?action=create&amp;sid=$sid\" method=\"post\">";

echo "<postfield name=\"logo\" value=\"$(logo)\"/>";

echo "</go></anchor>";

echo "<br/><img src=\"/images/line.gif\" alt=\"line\"/>";

echo "<br/><a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";

echo "<br/><br/><small>&#169; $sitename</small>";

echo "</p>";

echo "</card>";

}

/////////////////////////////////////////////////// Generated

else if($action=="create")

{

echo "<card id=\"main\" title=\"$sitename\">";

addonline(getuid_sid($sid),"Smiley Generator","");

$logo = $_POST["logo"];

echo "<p align=\"center\">";

echo "<b>Your Personal logo was created successfully!!!</b><br/>";

echo "<img src=\"http://www.smiliegenerators.com/smileyletters/image.php?s=$logo\" alt=\"$logo\"/><br/>";

echo "<a href=\"http://www.smiliegenerators.com/smileyletters/image.php?s=$logo\">Download!!</a><br/>";

echo "<br/><img src=\"/images/line.gif\" alt=\"line\"/>";

echo "<br/><a href=\"smiley.php?action=main&amp;sid=$sid\">Back</a><br/>";

echo "<br/><a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";

echo "<br/><br/><small>&#169; $sitename</small>";

echo "</p>";

echo "</card>";

}

///////////////////////////////////////////////// the end lol

else{

addonline(getuid_sid($sid),"Lost in Smiley Generator","");

echo "<card id=\"main\" title=\"$sitename\">";

echo "<p align=\"center\">";

echo "I don't know how you got into here, but there's nothing to show<br/><br/>";

echo "<img src=\"/images/line.gif\" alt=\"line\"/>";

echo "<br/><a href=\"index.php?action=main&amp;sid=$sid\">Home</a>";

echo "<br/><br/><small>&#169; $sitename</small>";

echo "</p></card>";

}

?>

</wml>