Advertisement
niammuddin

view.php

Sep 9th, 2014
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.09 KB | None | 0 0
  1. <?php
  2. $url = $_GET['url'];
  3. ?>
  4. <?php
  5. /**
  6.  * Template Name: Views
  7. */ get_header(); ?>
  8. <div id="indexsearch">
  9. <div id="indexsite1">
  10. <form method="get" id="search" class="form-wrapper" action="<?php echo home_url('/'); ?>">
  11. <input type="text" name="s" id="s" placeholder="Search here...">
  12. <button type="submit" value="Search ">Search</button></form>
  13. <center>
  14. <img width="728" height="90" src="<?php echo get_template_directory_uri(); ?>/images/banner_728x90.png" border="0"/>
  15. </center>
  16. </div>
  17. <div style="clear:both;"></div>
  18. <div align="center" style="font-size:12px;">
  19. <i>source: <?php echo $url;?></i>
  20. </div>
  21. <iframe src="http://docs.google.com/gview?url=<?php print $url; ?>&embedded=true" width="100%" height="480px" style="border-style:none;"></iframe>
  22. <div align="center" style="margin-top:15px;"><a type="application/octet-stream" style="padding:10px;background:#006699;color:#fff;font-weight:bold;" rel="nofollow" href="javascript:void(0);" onclick="window.open(&#39;<?php echo $url;?>&#39;); return false;">Download Now</a></div>
  23. <div class="tab_bdr"></div>
  24. </div>
  25. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement