pustakakoran

Kode Page ToolKlipingDigital

Apr 1st, 2020
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. nama filenya: page-template-bikin-koran.php
  2.  
  3. ==========================================
  4.  
  5.  
  6.  
  7. <?php session_start();
  8. /**
  9. * Template Name: Bikin Koran
  10. */
  11.  
  12. global $flexitheme; get_header(); ?>
  13.  
  14. <div id="main">
  15.  
  16. <?php $flexitheme->hook('main_before'); ?>
  17.  
  18. <div id="content">
  19.  
  20. <?php $flexitheme->hook('content_before'); ?>
  21.  
  22. <?php
  23. if (have_posts()) : while (have_posts()) : the_post();
  24. /**
  25. * Find the post formatting for the pages in the post-page.php file
  26. */
  27. get_template_part('post', 'page');
  28. endwhile;
  29.  
  30. else :
  31. get_template_part('post', 'noresults');
  32. endif;
  33. ?>
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44. <div >
  45. <h1>PDF Newspaper <span style="color: #999; font-size: .5em;"> 2.5</span></h1>
  46. <form class="form-horizontal" id="form" method="get" target="_blank" action="https://pdf.fivefilters.org/makepdf.php">
  47. <input type="hidden" name="v" value="2.5" />
  48. <label for="url">Bikin E-Koran dari Halaman Web (<i>Create Newspaper from URL</i>)</label>
  49. <input type="text" name="url" id="url" placeholder="https://" class="span5 dim" required>
  50. <div id="advanced">
  51. <fieldset><br/>
  52. <font size="4pt"><b>Pengaturan Hasil Koran</b></font><br/><br/>
  53. <div class="control-group">
  54. <label class="control-label" for="mode">Mode</label>
  55. <div class="controls">
  56. <select id="mode" name="mode" class="dim span3" tabindex="">
  57. <option value="multi-story">Ada Header Koran</option>
  58. <option value="single-story">Tanpa Haeder Koran</option>
  59. </select>
  60. </div>
  61. </div>
  62.  
  63. <div class="control-group">
  64. <label class="control-label" for="output">Output</label>
  65. <div class="controls">
  66. <select id="output" name="output" class="dim span3" tabindex="">
  67. <option value="pdf">PDF</option>
  68. <option value="pdf-download">PDF for download</option>
  69. <option value="html">HTML</option>
  70. </select>
  71. </div>
  72. </div>
  73.  
  74. <div class="control-group">
  75. <label class="control-label" for="template">Ukuran Kertas</label>
  76. <div class="controls">
  77. <select id="template" class="dim span3" name="template" tabindex="">
  78. <option value="A4">A4</option>
  79. <option value="Letter">Letter</option>
  80. <option value="A5">A5</option>
  81. </select>
  82. </div>
  83. </div>
  84.  
  85. <div class="control-group">
  86. <label class="control-label" for="title">Header Koran</label>
  87. <div class="controls">
  88. <input type="text" id="title" name="title" value="PustakaKoran.Com" class="dim span3" tabindex="">
  89. </div>
  90. </div>
  91.  
  92. <div class="control-group">
  93. <label class="control-label" for="sub">Moto Koran / URL Sumber Berita</label>
  94. <div class="controls">
  95. <input type="text" id="sub" name="sub" class="dim span3" value="Arsip Koran Terbaik di Indonesia" tabindex="" />
  96. </div>
  97. </div>
  98.  
  99.  
  100.  
  101. <div class="control-group">
  102. <label class="control-label">Tampilkan</label>
  103. <div class="controls">
  104. <label class="checkbox inline"><input type="checkbox" id="date" name="date" value="true" checked> waktu dan tanggal</label>
  105. <label class="checkbox inline"><input type="checkbox" id="images" name="images" value="true" checked> gambar</label>
  106. </div>
  107. </div>
  108.  
  109.  
  110.  
  111. <div style="clear: both;"></div>
  112. </fieldset>
  113.  
  114.  
  115. </div>
  116. <div class="clearfix">
  117. <button type="submit" class="btn btn-large primary">Create</button>
  118. </div>
  119. </form>
  120. </div> <!-- end span8 -->
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. <?php $flexitheme->hook('content_after'); ?>
  132.  
  133. </div><!-- #content -->
  134.  
  135. <?php get_sidebars(); ?>
  136.  
  137. <?php $flexitheme->hook('main_after'); ?>
  138.  
  139. </div><!-- #main -->
  140. <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link href="https://fivefilters.org/css/bootstrap-2.1.1-combined.min.css" rel="stylesheet">
  141. </head>
  142. <?php get_footer(); ?>
RAW Paste Data