function FinishForm() { echo "\n </form>\n </div>\n\t <div class = \"rightpiece\">\n\t \t \n\t <p>"; DisplayImage("music.png", "music"); echo "\t </p>\n\t </div>\n\t</div>"; WriteFooters(); }
function finishForm() { echo "</div>"; echo "</form>"; echo "<div class = \"rightpiece\">"; echo "<div class = \"image\">"; DisplayImage("images\\musicNote.png", "Music Note", "100px", "100px"); echo "</div>"; echo "</div>"; echo "</div>"; WriteFooters(); }
$opentime = $statsapi->GetServerTime(); $openip = GetRealIp(); $open_details = array( 'opentime' => $opentime, 'openip' => $openip, 'subscriberid' => $subscriber_id, 'statid' => $statid, 'opentype' => $opentype, 'listid' => (int)$_GET['L'] ); $statsapi->RecordOpen($open_details, $statstype); DisplayImage(); exit(); /** * DisplayImage * Loads up the 'openimage' and displays it. It will exit after displaying the image. * * @return Void Doesn't return anything. */ function DisplayImage() { // open the file in a binary mode $name = SENDSTUDIO_IMAGE_DIRECTORY . '/open.gif'; $fp = fopen($name, 'rb'); // send the right headers
echo "<div id=\"interactive-images\">"; for ($count = 1; $count <= $scan_count; $count++) { $visibility = 'hidden'; if ($count == $mid) { $visibility = 'visible'; } echo "<div id=\"interactive-{$count}\" class=\"interactive {$visibility}\">\n"; DisplayImage($scans, $count); echo "</div>\n"; } echo "<div class=\"cleared\"></div></div>"; echo "</div>"; echo "<h2>Individual Images:</h2>"; for ($count = 1; $count <= $scan_count; $count++) { echo "<div id=\"scans-{$count}\">\n"; DisplayImage($scans, $count); echo "</div>\n"; } } else { echo "Error processing image"; } function DisplayImage(&$scans, $count) { global $width; global $info; global $compare; $out = ''; for ($i = 0; $i < $count; $i++) { $out .= $scans[$i]; } $bytes = strlen($out);
$taglist .= "<a href=\"/browse/advanced/tag:{$key};\">" . str_replace("_", " ", $key) . "</a>, "; } $taglist = substr($taglist, 0, -2); } else { $taglist = "This hat has no tags!"; } $content .= "<div class=\"tagttl\">Tags:</div><div class=\"ratingttl\">Rating:</div><div class=\"tagdisp\"><div class=\"tags\">{$taglist}</div><div class=\"ayo\"><a href=\"/hat/{$path['1']}/tag\">Add Your Own</a></div></div><div class=\"ratingdisp\"><a class=\"rate\" href=\"/hat/{$path['1']}/rate:up;\">[+]</a> {$HatRating} <a class=\"rate\" href=\"/hat/{$path['1']}/rate:down;\">[-]</a></div><div class=\"replylink\"><a href=\"/share/reply:{$path['1']};\">Add Reply</a></div>"; if ($HatReplies != "") { $content .= "<hr /><div class=\"spacer\">"; foreach (explode(", ", $HatReplies) as $ReplyID) { $query = mysql_query("SELECT `HatURL`,`HatName`,`HatCreator` FROM `Hats` WHERE `HatID`='{$ReplyID}' AND `HatDeleted` BETWEEN '0' AND '1'"); list($ReplyURL, $ReplyName, $ReplyCreator) = @mysql_fetch_array($query); if ($ReplyName != "") { $ReplyNameDisplay = DisplayText($ReplyName, 170); $ReplyCreatorDisplay = DisplayText($ReplyCreator, 130); $content .= "<div class=\"replycntn\"><div class=\"replyttl\"><a href=\"/hat/{$ReplyID}\">{$ReplyNameDisplay}</a></div><div class=\"replyimg\"><a href=\"/hat/{$ReplyID}\">" . DisplayImage($ReplyURL, 125) . "</a></div><div class=\"replyauth\">by: <a href=\"/browse/advanced/creator:" . str_replace(" ", "_", $ReplyCreator) . ";\">{$ReplyCreatorDisplay}</a></div></div>"; } } $content .= "</div>"; } } } break; case "the_beginning": $title = "coming soon to an internet near you"; $content = "<div style=\"color: #FFD200; font-weight: bold; font-size: 16pt; text-align: center; background: #CC6666; border: 1px solid #FFFF00; padding: 4px; margin-left: 9%; margin-right: 9%;\">hello, if you're new, please read the f*****g <a href=\"/faq\">faq</a></div><br />You are looking at weedhat. Do you know what weedhat is? We do. <b>Everything</b> is weedhat. Maybe you could try it some time, for kicks, y'know. Smoke some ganja and find something to give a nice new home on top of your head. You see, we here at weedhat question the distinction between object and hat. Isn't it obvious? <i>Everything</i> can be a hat, so long as you're high.<br /><br />By now, I'm sure you're <i>excited</i>. Good. You should be. No longer should you see a bucket as a mere device to hold liquids. In fact, now that I've suggested it, you'll <u>never be able to unsee it</u>. No longer should perfectly useful objects be stripped of their right to also be a hat.<br /><br />Think about it.<br /><br /><blink>Just think about it.</blink><br /><br />Who wears hats? Cowboys. The pope. People with bad hair. <b>Abraham Lincoln</b>. It just makes sense.<br /><br /><blink><b>Just think about it.</b></blink><br /><br />Stop looking at this website and grab something—anything!—and put that m**********r on your head. You'll be glad you did."; break; case "profile": $AccountName = str_replace("_", " ", $path[1]); if ($path[2] == "edit") { if ($AccountName == strtolower(str_replace("_", " ", $identity)) && $identity != "Flash") {