v_fifo_agent_remote.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. /*
  3. FusionPBX
  4. Version: MPL 1.1
  5. The contents of this file are subject to the Mozilla Public License Version
  6. 1.1 (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.mozilla.org/MPL/
  9. Software distributed under the License is distributed on an "AS IS" basis,
  10. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11. for the specific language governing rights and limitations under the
  12. License.
  13. The Original Code is FusionPBX
  14. The Initial Developer of the Original Code is
  15. Mark J Crane <[email protected]>
  16. Copyright (C) 2010
  17. All Rights Reserved.
  18. Contributor(s):
  19. Mark J Crane <[email protected]>
  20. */
  21. require_once "root.php";
  22. require_once "resources/require.php";
  23. require_once "resources/check_auth.php";
  24. if (if_group("agent") || if_group("admin") || if_group("superadmin")) {
  25. //access granted
  26. }
  27. else {
  28. echo "access denied";
  29. exit;
  30. }
  31. //show the header
  32. require_once "resources/header.php";
  33. echo "<div align='right'>\n";
  34. echo " <input type='button' class='btn' name='' alt='reload' onclick=\"var f = document.getElementById('iframe1');f.src = f.src;\" value='Reload'>\n";
  35. echo " &nbsp;&nbsp;\n";
  36. echo "</div>\n";
  37. //show the iframe
  38. echo "<iframe src ='http://phone-1.viagogo.corp/mod/fifo_agents/fifo_agent/v_fifo_agent_edit.php' width='100%' id='iframe1' height='750px' frameborder=0>\n";
  39. echo " <p>Your browser does not support iframes.</p>\n";
  40. echo "</iframe>\n";
  41. //show the footer
  42. require_once "resources/footer.php";
  43. ?>