<?php 
}
?>
	</table>
  </fieldset>
  <fieldset>
  <legend><?php 
echo SETUP_CO_MGR_DEL_CO;
?>
</legend>
    <table>
	  <tr>
	    <td colspan="3" style="color:red"><?php 
echo SETUP_CO_MGR_DELETE_CONFIRM;
?>
</td>
	  </tr>
	  <tr>
	    <td colspan="3"><?php 
echo SETUP_CO_MGR_SELECT_DELETE . html_pull_down_menu('del_company', load_company_dropdown(true));
?>
</td>
	    <td align="right"><?php 
echo html_button_field('del_button', TEXT_DELETE, 'onclick="if (confirm(\'' . SETUP_CO_MGR_JS_DELETE_CONFIRM . '\')) submitToDo(\'delete_co\')"');
?>
</td>
	  </tr>
	 </table>
  </fieldset>
</div>
Esempio n. 2
0
?>
</h2></td></tr>
  <tr>
   <td nowrap="nowrap">&nbsp;&nbsp;<?php 
echo TEXT_ADMIN_EMAIL;
?>
</td>
   <td><?php 
echo html_input_field('admin_email', $_POST['admin_email'], 'size="60"');
?>
</td>
  </tr>
  <tr>
   <td nowrap="nowrap">&nbsp;&nbsp;<?php 
echo TEXT_LOGIN_COMPANY;
?>
</td>
   <td><?php 
echo html_pull_down_menu('company', load_company_dropdown(), $admin_company);
?>
</td>
  </tr>
  <tr><td colspan="2" align="right"><?php 
echo html_submit_field('submit', TEXT_PASSWORD_FORGOTTEN) . '&nbsp;&nbsp;';
?>
</td></tr>
 </tbody>
</table>
</div>
</form>
  <tr><td>&nbsp;</td></tr>
  <tr><td>
  <fieldset>
	<legend><?php 
echo TEXT_PASSWORD_FORGOTTEN;
?>
</legend>
	<label for="admin_email"><?php 
echo TEXT_ADMIN_EMAIL;
?>
	<?php 
echo html_input_field('admin_email', $_POST['admin_email']);
?>
</label>
	<?php 
echo $email_message;
?>
    <br /><label for="company"><?php 
echo TEXT_LOGIN_COMPANY;
?>
	<?php 
echo html_pull_down_menu('company', load_company_dropdown(), '');
?>
	</label>
	<br /><?php 
echo html_submit_field('submit', TEXT_PASSWORD_FORGOTTEN) . '&nbsp;&nbsp;';
?>
  </fieldset>
  </td></tr>
</table>
</form>
Esempio n. 4
0
// +-----------------------------------------------------------------+
//  Path: /modules/install/index.php
//
require_once 'includes/application_top.php';
if (!isset($_GET['main_page']) || !gen_not_null($_GET['main_page'])) {
    $_GET['main_page'] = 'index';
}
$current_page = $_GET['main_page'];
require_once '../../includes/version.php';
require_once '../general/functions/general.php';
require_once '../general/functions/html_functions.php';
require_once 'language/' . $language . '/language.php';
require_once 'language/' . $language . '/' . $current_page . '.php';
require_once 'pages/' . $current_page . '/header_php.php';
// make sure someone is not trying to hack in
$result = load_company_dropdown();
$blocked_modules = array('index', 'license', 'inspect', 'system_setup');
if (sizeof($result) > 0 && in_array($current_page, $blocked_modules)) {
    die('This installation already has been set up. Please use Company Manager.');
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php 
echo HTML_PARAMS;
?>
>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo CHARSET;
?>
		 <?php 
echo html_form('company_mgr_del', FILENAME_DEFAULT, gen_get_all_get_params(array('action')) . '&action=delete');
?>
		 <fieldset><legend><?php 
echo SETUP_CO_MGR_DEL_CO;
?>
</legend>
		 <table width="100%" border="0" cellspacing="2" cellpadding="2">
		  <tr><td><?php 
echo SETUP_CO_MGR_SELECT_DELETE;
?>
</td></tr>
		  <tr><td><?php 
echo SETUP_CO_MGR_DELETE_CONFIRM;
?>
</td></tr>
		  <tr><td><?php 
echo html_pull_down_menu('company', load_company_dropdown(true));
?>
</td></tr>
		  <tr><td align="right"><?php 
echo html_submit_field('button', SETUP_CO_MGR_DEL_CO, 'onclick="if (!confirm(\'' . SETUP_CO_MGR_JS_DELETE_CONFIRM . '\')) return false"');
?>
</td></tr>
		 </table>
		 </fieldset></form>
		</td>
	  </tr>
	 </table>
</div>