</div> <div align="center"> <p id="pYourFirstProject" style="font-size:1.4em;">Setup your Invoices</p> <div class="spacerblock_20"></div> <div id="setup_invoices"> <div> <?php $UserSettings = new UserSettings(); $UserSettings->sessionPersistent("InvLogo", "index.php", OFUZ_TTL); //$UserSettings->sessionPersistent("InvCurrency", "index.php", OFUZ_TTL); //$UserSettings->sessionPersistent("InvDateFormat", "index.php", OFUZ_TTL); //$UserSettings->sessionPersistent("InvAuthNet", "index.php", OFUZ_TTL); //$UserSettings->sessionPersistent("InvPaypal", "index.php", OFUZ_TTL); // Invoice Logo section $inv_logo = $UserSettings->getSettingValue("invoice_logo"); if ($inv_logo && is_array($inv_logo)) { $_SESSION['InvLogo']->getId($inv_logo["iduser_settings"]); $img = $_SESSION['InvLogo']->setting_value; $e_inv_logo = new Event("InvLogo->eventValuesFromForm"); $e_inv_logo->addEventAction("InvLogo->update", 2000); $e_inv_logo->addEventAction("InvLogo->eventCheckInvLogoExtension", 2); echo '<table width="50%" height="100px"><tr><td width="40%">'; $e_inv_logo->setGotFile(true); $e_inv_logo->addEventAction("mydb.gotoPage", 2333); $e_inv_logo->addParam("goto", $_SERVER['PHP_SELF']); echo $e_inv_logo->getFormHeader(); echo $e_inv_logo->getFormEvent(); $_SESSION['InvLogo']->setFields("invoice_logo"); $_SESSION['InvLogo']->setApplyRegistry(true, "Form"); echo _('Logo (GIF files are not supported)') . '<br />';
include_once 'includes/setting_tabs.php'; ?> <div class="settingsbottom"></div></div> </td><td class="layout_rcolumn"> <div class="banner60 pad020 text32"><?php echo _('Settings'); ?> </div> <div class="banner50 pad020 text16 fuscia_text"><?php echo _('Discussion Email Alert Setup'); ?> </div> <div class="contentfull"> <?php $UserSettings = new UserSettings(); $data = $UserSettings->getSettingValue("task_discussion_alert"); //if($_SESSION['do_User']->discussion_email_alert !='No'){ if (!$data) { $e_set_email_alert = new Event("UserSettings->eventSetOffDiscussionAlert"); $e_set_email_alert->addParam("goto", $_SERVER['PHP_SELF']); echo '<div class="messageshadow">'; echo '<div class="messages">'; $msg = new Message(); echo $msg->getMessage('global_discussion_email_on'); echo '<br />'; echo $e_set_email_alert->getLink(_('Turn Off')); echo '</div></div>'; echo '<br />'; } else { if (is_array($data)) { $e_set_email_alert = new Event("UserSettings->eventSetOnOffDiscussionAlert");
echo htmlentities($_SESSION['in_page_message']); $_SESSION['in_page_message'] = ''; echo '</div></div><br /><br />'; } ?> <?php $UserSettings = new UserSettings(); $UserSettings->sessionPersistent("InvLogo", "index.php", OFUZ_TTL); //$UserSettings->sessionPersistent("InvCurrency", "index.php", OFUZ_TTL); //$UserSettings->sessionPersistent("InvDateFormat", "index.php", OFUZ_TTL); //$UserSettings->sessionPersistent("InvAuthNet", "index.php", OFUZ_TTL); //$UserSettings->sessionPersistent("InvPaypal", "index.php", OFUZ_TTL); // Invoice Logo section $inv_logo = $UserSettings->getSettingValue("invoice_logo"); if ($inv_logo && is_array($inv_logo)) { $_SESSION['InvLogo']->getId($inv_logo["iduser_settings"]); $img = $_SESSION['InvLogo']->setting_value; $e_inv_logo = new Event("InvLogo->eventValuesFromForm"); $e_inv_logo->addEventAction("InvLogo->update", 2000); $e_inv_logo->addEventAction("InvLogo->eventCheckInvLogoExtension", 2); $e_inv_logo->setGotFile(true); $e_inv_logo->addEventAction("mydb.gotoPage", 2333); $e_inv_logo->addParam("goto", $_SERVER['PHP_SELF']); echo $e_inv_logo->getFormHeader(); echo $e_inv_logo->getFormEvent(); $_SESSION['InvLogo']->setFields("invoice_logo"); $_SESSION['InvLogo']->setApplyRegistry(true, "Form"); echo '<div class="in290x18">'; echo _('Logo (GIF files are not supported)') . '<br />';
<?php /**COPYRIGHTS**/ // Copyright 2008 - 2010 all rights reserved, SQLFusion LLC, info@sqlfusion.com /**COPYRIGHTS**/ $pageTitle = 'Ofuz :: Contacts'; $Author = 'SQLFusion LLC'; $Keywords = 'Keywords for search engine'; $Description = 'Description for search engine'; $background_color = 'white'; // include_once('config.php'); // include_once('includes/ofuz_check_access.script.inc.php'); // include_once('includes/header.inc.php'); //If gears is not enabled, redirect to contacts.php $do_user_settings = new UserSettings(); $setting_gears_arr = $do_user_settings->getSettingValue("google_gears"); if ($setting_gears_arr['setting_value'] == 'No') { $message = '<div class="contentfull">'; $message .= '<div class="contentfull">'; $message .= '<div class="messageshadow">'; $message .= '<div class="messages">'; $message .= 'You have not turned on the Gears. <br />To access the Gears enabled Contacts page, please follow : <B>Settings->Google Gears->Turn On</B>.<br />You are being redirected to Contacts page without Gears....'; $message .= '</div></div></div></div>'; echo $message; $jscript = '<script language="javascript">'; $jscript .= 'setTimeout("redirectUser()",30000);'; $jscript .= "function redirectUser(){window.location='/contacts.php';}"; $jscript .= '</script>'; echo $jscript; exit; }