Location: PHPKode > scripts > plusPHP Easy Short URL > plusphp-easy-short-url/_pages/frame.php
<?php

if(!defined('NON_DIRECT')) { exit(header("location: ../")); }

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>

    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />

    <title><?php echo($this_title) ?>: Short URL Cloaking Service</title>

    <meta name="Author" content="Developed by plusPHP.com / PK" />

    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

    <meta name="description" content="Short URL service with better functionality: send new URLs to e-mail, bulk URL shortening, custom SEO tags, temporary URLs" />

    <meta name="keywords" content="<?php echo($this_title) ?>, url, url cloaking, seo, search engine optimization, short url" />


    <link rel="stylesheet" href="<?php echo $BASE_URI; ?>env/style.css" media="screen,projection,print" type="text/css" />

  </head>
  <body>

<center><strong>
<a href="<?php echo($link) ?>" target="_top">Remove Frames</a>
Your Ads Code Here:
- <a href="<?php echo $BASE_URI; ?>">test with your URLs</a>
- <a href="http://linkslash.com/short/free-short-url-software">download free version</a>
</strong><br />
(note: see frame title, meta tags and link's structure - made to boost SEO)</center>

<iframe id="frame" src="<?php echo($link) ?>" width="100%" frameborder="0" marginheight="0" marginwidth="0"></iframe>

<script type="text/javascript">
function resizeIframe() {
    var height = document.documentElement.clientHeight;
    height -= document.getElementById('frame').offsetTop;

    // not sure how to get this dynamically
    height -= 30; /* whatever you set your body bottom margin/padding to be */

    document.getElementById('frame').style.height = height +"px";
};
document.getElementById('frame').onload = resizeIframe;
window.onresize = resizeIframe;
</script>
<center><strong>
<a href="<?php echo($link) ?>" target="_top">Remove Frames</a>
Your Ads Code Here:
- <a href="<?php echo $BASE_URI; ?>">test with your URLs</a>
- <a href="http://linkslash.com/short/free-short-url-software">download free version</a>
</strong></center>
  </body>
</html>
Return current item: plusPHP Easy Short URL