AlexKondov

Untitled

Dec 15th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.43 KB | None | 0 0
  1. <?php
  2.     if ($get_option($apiKey) && get_option($secretKey)) {
  3.         echo ("Api Key: " + get_option($apiKey) + "<br>" + "Secret Key: " + get_option($secretKey))
  4.     }
  5.     else {
  6.         ?>
  7.         <form action="" method="">
  8.             <label for="api-key">API Key</label>
  9.             <input type="text" id="api-key" /> <br>
  10.  
  11.             <label for="secret-key">Secret Key</label>
  12.             <input type="text" id="secret-key"> <br>
  13.  
  14.             <input type="submit" />
  15.         </form>
  16.         <?php
  17.     }
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment