<? require "ihs/config.php"; ?>
<? require "ihs/uploader.php"; ?>
<? require "top_inc.php"; ?>
<br>
<div align="center"><span class="heading">FILE UPLOAD RESULTS</span></div>
<br>
<span class="body">
<form name="uploadresults" action="uploademail.php" method="post">
<input type="hidden" name="filen" value="<?= $newFileUrlLink ?>">
<input type="hidden" name="idx" value="<?= $newID ?>">
<? if ($messages != "") { ?>
<span style="font-weight: bold; color: maroon;"><?= $messages ?></span><br>
<br>
<br>
<? } else { ?>
<span style="color: maroon;">Your file has been successfully uploaded and is available from the following URL's.</span><br>
<br>
You may enter your e-mail address below to have these URL's sent to you.<br>
<br>
<hr>
<br>
<? if ($showURL1) { ?>
<strong>To link directly for viewing on a page (<a href="<?= $page_url ?>/viewimage.php?file=<?= $newFileUrlLink ?>" target="_blank">Try It!</a>):</strong><br>
<br>
<div align="center">
<textarea name="url1" cols="70" rows="3" onfocus="javascript: this.select()"><?= $page_url ?>/viewimage.php?file=<?= $newFileUrlLink ?></textarea>
</div>
<br>
<br>
<? } ?>
<? if ($showURL2) { ?>
<strong>To link to your image directly (<a href="<?= $newFileUrl ?>" target="_blank">Try It!</a>):</strong><br>
<br>
<div align="center">
<textarea name="url2" cols="70" rows="3" onfocus="javascript: this.select()"><?= $newFileUrl ?></textarea>
</div>
<br>
<br>
<? } ?>
<? if ($showURL3) { ?>
<strong>To link to your image in HTML:</strong><br>
<br>
<div align="center">
<textarea name="url3" cols="70" rows="3" onfocus="javascript: this.select()">&lt;img src=&quot;<?= $newFileUrl ?>&quot; alt=&quot;Image Hosted by <?= $site_name ?>&quot; /&gt;</textarea>
</div>
<br>
<br>
<? } ?>
<? if ($showURL4) { ?>
<strong>To post in a message board:</strong><br>
<br>
<div align="center">
<textarea name="url4" cols="70" rows="3" onfocus="javascript: this.select()">[img]<?= $newFileUrl ?>[/img]</textarea>
</div>
<br>
<br>
<? } ?>
<? if ($showURL5) { ?>
<strong>Link directly to thumbnail in JPEG format (<a href="<?= $tnFileUrl ?>" target="_blank">Try It!</a>):</strong><br>
<br>
<div align="center">
<textarea name="url5" cols="70" rows="3" onfocus="javascript: this.select()"><?= $tnFileUrl ?></textarea>
</div>
<br>
<? } ?>
<hr>
<br>
Instead of writting down or copying these URL's, you can just enter your e-mail address and we will send them to you. Your e-mail address will remain private and we will not sell or otherwise share it with anyone. And you will not receive mail from us other than one message containing the above URL's.<br>
<br>
<div align="center">
<strong>Your E-mail Address:</strong> <input type="text" name="email" size="25" maxlength="150"><br>
<br>
<input type="submit" name="submit" value="SEND ME MY URL'S">
</div>
<? } ?>
<br>
</form>
</span>
<? require "bottom_inc.php"; ?>