Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nama filenya: page-template-bikin-koran.php
- ==========================================
- <?php session_start();
- /**
- * Template Name: Bikin Koran
- */
- global $flexitheme; get_header(); ?>
- <div id="main">
- <?php $flexitheme->hook('main_before'); ?>
- <div id="content">
- <?php $flexitheme->hook('content_before'); ?>
- <?php
- if (have_posts()) : while (have_posts()) : the_post();
- /**
- * Find the post formatting for the pages in the post-page.php file
- */
- get_template_part('post', 'page');
- endwhile;
- else :
- get_template_part('post', 'noresults');
- endif;
- ?>
- <div >
- <h1>PDF Newspaper <span style="color: #999; font-size: .5em;"> 2.5</span></h1>
- <form class="form-horizontal" id="form" method="get" target="_blank" action="https://pdf.fivefilters.org/makepdf.php">
- <input type="hidden" name="v" value="2.5" />
- <label for="url">Bikin E-Koran dari Halaman Web (<i>Create Newspaper from URL</i>)</label>
- <input type="text" name="url" id="url" placeholder="https://" class="span5 dim" required>
- <div id="advanced">
- <fieldset><br/>
- <font size="4pt"><b>Pengaturan Hasil Koran</b></font><br/><br/>
- <div class="control-group">
- <label class="control-label" for="mode">Mode</label>
- <div class="controls">
- <select id="mode" name="mode" class="dim span3" tabindex="">
- <option value="multi-story">Ada Header Koran</option>
- <option value="single-story">Tanpa Haeder Koran</option>
- </select>
- </div>
- </div>
- <div class="control-group">
- <label class="control-label" for="output">Output</label>
- <div class="controls">
- <select id="output" name="output" class="dim span3" tabindex="">
- <option value="pdf">PDF</option>
- <option value="pdf-download">PDF for download</option>
- <option value="html">HTML</option>
- </select>
- </div>
- </div>
- <div class="control-group">
- <label class="control-label" for="template">Ukuran Kertas</label>
- <div class="controls">
- <select id="template" class="dim span3" name="template" tabindex="">
- <option value="A4">A4</option>
- <option value="Letter">Letter</option>
- <option value="A5">A5</option>
- </select>
- </div>
- </div>
- <div class="control-group">
- <label class="control-label" for="title">Header Koran</label>
- <div class="controls">
- <input type="text" id="title" name="title" value="PustakaKoran.Com" class="dim span3" tabindex="">
- </div>
- </div>
- <div class="control-group">
- <label class="control-label" for="sub">Moto Koran / URL Sumber Berita</label>
- <div class="controls">
- <input type="text" id="sub" name="sub" class="dim span3" value="Arsip Koran Terbaik di Indonesia" tabindex="" />
- </div>
- </div>
- <div class="control-group">
- <label class="control-label">Tampilkan</label>
- <div class="controls">
- <label class="checkbox inline"><input type="checkbox" id="date" name="date" value="true" checked> waktu dan tanggal</label>
- <label class="checkbox inline"><input type="checkbox" id="images" name="images" value="true" checked> gambar</label>
- </div>
- </div>
- <div style="clear: both;"></div>
- </fieldset>
- </div>
- <div class="clearfix">
- <button type="submit" class="btn btn-large primary">Create</button>
- </div>
- </form>
- </div> <!-- end span8 -->
- <?php $flexitheme->hook('content_after'); ?>
- </div><!-- #content -->
- <?php get_sidebars(); ?>
- <?php $flexitheme->hook('main_after'); ?>
- </div><!-- #main -->
- <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">
- </head>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement