
 


<br>
<table style="width:100%; font-size:16px; font-family:sans-serif; font-weight:900;">
    <tr>
     <td>
      Select a WordPress page:
     </td>
     <td>
      <?php
       require_once("../../../wp-load.php");
       $PGPath=plugins_url()."/jack_jacker/";
       $args = array(
	                   'sort_order' => 'ASC',
	                   'sort_column' => 'post_title',
	                   'hierarchical' => 1,
	                   'exclude' => '',
	                   'include' => '',
	                   'meta_key' => '',
	                   'meta_value' => '',
	                   'authors' => '',
	                   'child_of' => 0,
	                   'parent' => -1,
	                   'exclude_tree' => '',
	                   'number' => '',
	                   'offset' => 0,
	                   'post_type' => 'page',
                    ); 
$pages = get_pages($args);

echo "<select id='SelectedPage'>";
foreach ( $pages as $page ) {
  	$option = '<option value="' .$page->ID. '">';
	$option .= $page->post_title;
	$option .= '</option>';
	echo $option;
  }
  
?>
     </td>
    </tr> 
    <tr>
     <td>Jack Title</td>
     <td><input type="text" id="JackTitle" style="width:350px; font-size:18px; font-family:sans-serif; font-weight:900;"></td>
    </tr>
    <tr>
    <tr>
     <td>URL To Jack</td>
     <td><input type="text" id="URL" style="width:350px; font-size:18px; font-family:sans-serif; font-weight:900;"></td>
    </tr>
    <tr>
     <td>Bar Color</td>
     <td>
       <select id="BarColor">
        <option value="000000">Black</option>
        <option value="FFFFFF">White</option>
        <option value="FF2A2A">Red</option>
        <option value="AB5656">Dark Red</option>
        <option value="00FF00">Green</option>
        <option value="56AB56">Dark Green</option>
        <option value="00AAFF">Blue</option>
        <option value="2B55D5">Dark Blue</option>
        <option value="FFFF00">Yellow</option>
        <option value="9515EA">Purple</option>
       </select>
     </td>
    </tr>
    <tr>
     <td>Bar Text</td>
     <td><input type="text" id="BarText" style="width:350px; font-size:18px; font-family:sans-serif; font-weight:900;"></td>
    </tr>
    <tr>
     <td>Bar Text Color</td>
     <td>
      <select id="LinkColor">
        <option value="000000">Black</option>
        <option value="FFFFFF">White</option>
        <option value="FF2A2A">Red</option>
        <option value="AB5656">Dark Red</option>
        <option value="00FF00">Green</option>
        <option value="56AB56">Dark Green</option>
        <option value="00AAFF">Blue</option>
        <option value="2B55D5">Dark Blue</option>
        <option value="FFFF00">Yellow</option>
        <option value="9515EA">Purple</option>
       </select>
     </td>
    </tr>
    <tr>
     <td>Link URL</td>
     <td><input type="text" id="Link" style="width:350px; font-size:18px; font-family:sans-serif; font-weight:900;"></td>
    </tr>
    
     
</table>

  </div>
  
  <center>
   <button onclick="saveNow();" style="font-weight:900; font-size:18px; padding:5px;">Save Now</button>
  </center>    
  
  <br>&nbsp;<br>
 
 