Changeset 2
- Timestamp:
- 05/29/07 11:25:52 (5 years ago)
- Files:
-
- branches/1.3/A2BCustomer_UI/forgotpassword.php (modified) (4 diffs)
- branches/1.3/A2BCustomer_UI/index2.php (modified) (3 diffs)
- branches/1.3/A2BCustomer_UI/lib/epayment/includes/PP_header.php (modified) (2 diffs)
- branches/1.3/A2BCustomer_UI/lib/smarty.php (modified) (1 diff)
- branches/1.3/A2BCustomer_UI/PP_error.php (modified) (2 diffs)
- branches/1.3/A2Billing_UI/lib/epayment/includes/PP_header.php (modified) (2 diffs)
- branches/1.3/A2Billing_UI/signup/activate.php (modified) (3 diffs)
- branches/1.3/A2Billing_UI/signup/PP_footer.php (modified) (1 diff)
- branches/1.3/A2Billing_UI/signup/PP_header.php (modified) (1 diff)
- branches/1.3/TODO (modified) (2 diffs)
- trunk/A2BCustomer_UI/forgotpassword.php (modified) (4 diffs)
- trunk/A2BCustomer_UI/index2.php (modified) (3 diffs)
- trunk/A2BCustomer_UI/lib/epayment/includes/PP_header.php (modified) (2 diffs)
- trunk/A2BCustomer_UI/lib/smarty.php (modified) (1 diff)
- trunk/A2BCustomer_UI/PP_error.php (modified) (2 diffs)
- trunk/A2Billing_UI/lib/epayment/includes/PP_header.php (modified) (2 diffs)
- trunk/A2Billing_UI/signup/activate.php (modified) (3 diffs)
- trunk/A2Billing_UI/signup/PP_footer.php (modified) (1 diff)
- trunk/A2Billing_UI/signup/PP_header.php (modified) (1 diff)
- trunk/TODO (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.3/A2BCustomer_UI/forgotpassword.php
r1 r2 3 3 // session_start(); 4 4 5 include (dirname(__FILE__)."/lib/company_info.php");6 5 include ("./lib/defines.php"); 7 6 … … 27 26 $DBHandle = DbConnect(); 28 27 $QUERY = "SELECT mailtype, fromemail, fromname, subject, messagetext, messagehtml FROM cc_templatemail WHERE mailtype='forgetpassword' "; 29 $num = 0; 28 29 $num = 0; 30 30 $res = $DBHandle -> Execute($QUERY); 31 if ($res)31 if ($res) 32 32 $num = $res -> RecordCount(); 33 33 34 34 if (!$num) exit(); 35 35 for($i=0;$i<$num;$i++) … … 107 107 108 108 109 //include("PP_header.php");110 109 ?> 111 110 <html> … … 190 189 <tr> 191 190 <td class="bgcolor_006"> 192 <img src="<?php echo Images_Path_Main ?>/kicons/khelpcenter. png"/></td>191 <img src="<?php echo Images_Path_Main ?>/kicons/khelpcenter.gif"/></td> 193 192 <td class="bgcolor_006"> 194 193 branches/1.3/A2BCustomer_UI/index2.php
r1 r2 2 2 include ("lib/defines.php"); 3 3 include ("lib/module.access.php"); 4 include (dirname(__FILE__)."/lib/company_info.php");5 4 6 5 7 6 if (! has_rights (ACX_ACCESS)){ 8 Header ("HTTP/1.0 401 Unauthorized");9 Header ("Location: PP_error.php?c=accessdenied");10 die();7 Header ("HTTP/1.0 401 Unauthorized"); 8 Header ("Location: PP_error.php?c=accessdenied"); 9 die(); 11 10 } 12 11 … … 17 16 <title>..:: :<?php echo CCMAINTITLE; ?>: ::..</title> 18 17 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 19 <style type="text/css">20 <!--21 body {22 scrollbar-face-color: #F8F8F8;23 scrollbar-highlight-color: #A5A5A5;24 scrollbar-3d-light-color: #E5E5E5;25 scrollbar-shadow-color: #E5E5E5;26 scrollbar-dark-shadow-color: #036;27 SCROLLBAR-BASE-COLOR: #E5E5E5;28 SCROLLBAR-ARROW-COLOR: #888888;29 }30 -->31 </style>32 18 </head> 33 34 35 19 36 20 <frameset rows="*" cols="150,*" framespacing="0" frameborder="NO" border="0"> … … 39 23 </frameset> 40 24 41 42 25 </html> branches/1.3/A2BCustomer_UI/lib/epayment/includes/PP_header.php
r1 r2 1 1 <?php 2 include (tep_href_link("lib/company_info.php","", 'SSL', false, false));3 2 4 define ("WEBUI_DATE", 'Release : 31 July 2006');5 define ("WEBUI_VERSION", 'Asterisk2Billing - Version 1.2.3 svn-trunk (BrainCoral)- ');3 include (tep_href_link("lib/defines.php","", 'SSL', false, false)); 4 6 5 ?> 7 6 <html><head> … … 68 67 </head> 69 68 <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> 70 <p class="version" align="right">< ?php echo WEBUI_VERSION.WEBUI_DATE; ?></p>69 <p class="version" align="right"></p> 71 70 <br> branches/1.3/A2BCustomer_UI/lib/smarty.php
r1 r2 1 1 <?php 2 2 error_reporting(E_ALL ^ (E_NOTICE | E_WARNING)); 3 4 include (dirname(__FILE__)."/company_info.php");5 3 6 4 define( 'FULL_PATH', dirname(__FILE__) . '/' ); branches/1.3/A2BCustomer_UI/PP_error.php
r1 r2 1 1 <?php 2 2 include ("lib/defines.php"); 3 include ("lib/company_info.php");4 3 5 4 $popup_select=1; … … 21 20 <br></br><br></br> 22 21 <table width="460" border="2" align="center" cellpadding="1" cellspacing="2" bordercolor="#eeeeff" bgcolor="#FFFFFF"> 23 <tr class="pp_error_maintable_tr1"> 24 22 <tr class="pp_error_maintable_tr1"> 25 23 <td> 26 24 <div align="center"><b><font size="3"><?php echo gettext("Error Page");?></font></b></div> branches/1.3/A2Billing_UI/lib/epayment/includes/PP_header.php
r1 r2 1 1 <?php 2 include (tep_href_link("lib/company_info.php","", 'SSL', false, false));3 2 4 define ("WEBUI_DATE", 'Release : 31 July 2006');5 define ("WEBUI_VERSION", 'Asterisk2Billing - Version 1.2.3 svn-trunk (BrainCoral)- ');3 include (tep_href_link("lib/defines.php","", 'SSL', false, false)); 4 6 5 ?> 7 6 <html><head> … … 68 67 </head> 69 68 <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> 70 <p class="version" align="right">< ?php echo WEBUI_VERSION.WEBUI_DATE; ?></p>69 <p class="version" align="right"></p> 71 70 <br> branches/1.3/A2Billing_UI/signup/activate.php
r1 r2 94 94 ?> 95 95 96 <blockquote> 97 <div align="center"><br></br> 98 <font color="#FF0000"><b><?php echo gettext("Welcome! Your account has been successfully activated. Thank you!"); ?></b></font><br> 99 <br></br> 100 101 102 <?php echo $list[0][2]; ?> <?php echo $list[0][1]; ?>, <?php echo gettext("Thank you for registering with us !");?><br> 103 <?php echo gettext("An email confirming your information has been sent to"); ?> <b><?php echo $list[0][3]; ?></b><br></br> 104 <h3> 105 <?php echo gettext("Your cardnumber is "); ?> <b><font color="#00AA00"><?php echo $list[0][0]; ?></font></b><br></br></br> 106 <?php echo gettext("To login to your account :"); ?></br> 107 <?php echo gettext("Your card alias (login) is "); ?> <b><font color="#00AA00"><?php echo $list[0][6]; ?></font></b><br> 108 <?php echo gettext("Your password is "); ?> <b><font color="#00AA00"><?php echo $list[0][4]; ?></font></b><br> 109 </h3> 110 111 <br><br> 112 <?php echo gettext("Follow the link to access your account : ").'<a href="'.$A2B->config["signup"]['urlcustomerinterface'].'">'.$A2B->config["signup"]['urlcustomerinterface']."</a><br>"; ?> 113 114 </div> 115 </blockquote> 96 <blockquote> 97 <div align="center"><br></br> 98 <font color="#FF0000"><b><?php echo gettext("Welcome! Your account has been successfully activated. Thank you!"); ?></b></font><br> 99 <br></br> 100 101 102 <?php echo $list[0][2]; ?> <?php echo $list[0][1]; ?>, <?php echo gettext("Thank you for registering with us !");?><br> 103 <?php echo gettext("An email confirming your information has been sent to"); ?> <b><?php echo $list[0][3]; ?></b><br></br> 104 <h3> 105 <?php echo gettext("Your cardnumber is "); ?> <b><font color="#00AA00"><?php echo $list[0][0]; ?></font></b><br></br></br> 106 <?php echo gettext("To login to your account :"); ?></br> 107 <?php echo gettext("Your card alias (login) is "); ?> <b><font color="#00AA00"><?php echo $list[0][6]; ?></font></b><br> 108 <?php echo gettext("Your password is "); ?> <b><font color="#00AA00"><?php echo $list[0][4]; ?></font></b><br> 109 </h3> 110 111 <br><br> 112 <?php echo gettext("Follow the link to access your account : ").'<a href="'.$A2B->config["signup"]['urlcustomerinterface'].'">'.$A2B->config["signup"]['urlcustomerinterface']."</a><br>"; ?> 113 114 </div> 115 </blockquote> 116 116 117 117 118 <?php }else{ ?> 119 118 120 <center> 119 121 <br></br><br></br> … … 130 132 <b> 131 133 132 <?php 133 if( $records[0][8] == "t") 134 { 135 echo gettext("Your account is already activated.")." <br>"; 136 } 137 elseif(isset($result) || $result != null) 138 { 139 // nada 140 } 141 else 142 { 143 echo gettext("Your account cannot be activated please contact <br> the website administrator or retry later.")." <br>"; 144 } 145 ?> 146 147 134 <?php 135 if( $records[0][8] == "t") 136 { 137 echo gettext("Your account is already activated.")." <br>"; 138 } 139 elseif(isset($result) || $result != null) 140 { 141 // nada 142 } 143 else 144 { 145 echo gettext("Your account cannot be activated please contact <br> the website administrator or retry later.")." <br>"; 146 } 147 ?> 148 148 149 </b> 149 150 … … 159 160 160 161 <?php 161 162 162 } 163 164 163 165 164 // #### FOOTER SECTION 166 165 $smarty->display('signup_footer.tpl'); 166 167 167 ?> branches/1.3/A2Billing_UI/signup/PP_footer.php
r1 r2 2 2 if (isset($displayfooter) && $displayfooter==0){ echo '</body></html>'; exit();} 3 3 4 include (dirname(__FILE__)."/../lib/company_info.php");5 4 if ($DBHandle){ DbDisconnect($DBHandle);} 6 5 ?> branches/1.3/A2Billing_UI/signup/PP_header.php
r1 r2 1 <?php2 include (dirname(__FILE__)."/../lib/company_info.php");3 ?>4 1 <html><head> 5 2 <link rel="shortcut icon" href="../Images/favicon.ico"> branches/1.3/TODO
r1 r2 4 4 ******************************************************************************** 5 5 6 #### FILE USED ? 7 ******************************************************************** 8 trunk/A2BCustomer_UI/lib/epayment/includes/PP_header.php 9 trunk/A2Billing_UI/lib/epayment/includes/PP_header.php 10 11 To remove : 12 trunk/A2Billing_UI/signup/PP_footer.php 13 trunk/A2Billing_UI/signup/PP_header.php 14 15 16 17 #### NEW LOGO ON MAIN PAGE 18 ******************************************************************** 6 19 7 20 … … 52 65 53 66 54 55 56 #### CALLBACK : INTRO MESSAGE57 ********************************************************************58 Play an intro message on CallBack59 67 60 68 trunk/A2BCustomer_UI/forgotpassword.php
r1 r2 3 3 // session_start(); 4 4 5 include (dirname(__FILE__)."/lib/company_info.php");6 5 include ("./lib/defines.php"); 7 6 … … 27 26 $DBHandle = DbConnect(); 28 27 $QUERY = "SELECT mailtype, fromemail, fromname, subject, messagetext, messagehtml FROM cc_templatemail WHERE mailtype='forgetpassword' "; 29 $num = 0; 28 29 $num = 0; 30 30 $res = $DBHandle -> Execute($QUERY); 31 if ($res)31 if ($res) 32 32 $num = $res -> RecordCount(); 33 33 34 34 if (!$num) exit(); 35 35 for($i=0;$i<$num;$i++) … … 107 107 108 108 109 //include("PP_header.php");110 109 ?> 111 110 <html> … … 190 189 <tr> 191 190 <td class="bgcolor_006"> 192 <img src="<?php echo Images_Path_Main ?>/kicons/khelpcenter. png"/></td>191 <img src="<?php echo Images_Path_Main ?>/kicons/khelpcenter.gif"/></td> 193 192 <td class="bgcolor_006"> 194 193 trunk/A2BCustomer_UI/index2.php
r1 r2 2 2 include ("lib/defines.php"); 3 3 include ("lib/module.access.php"); 4 include (dirname(__FILE__)."/lib/company_info.php");5 4 6 5 7 6 if (! has_rights (ACX_ACCESS)){ 8 Header ("HTTP/1.0 401 Unauthorized");9 Header ("Location: PP_error.php?c=accessdenied");10 die();7 Header ("HTTP/1.0 401 Unauthorized"); 8 Header ("Location: PP_error.php?c=accessdenied"); 9 die(); 11 10 } 12 11 … … 17 16 <title>..:: :<?php echo CCMAINTITLE; ?>: ::..</title> 18 17 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 19 <style type="text/css">20 <!--21 body {22 scrollbar-face-color: #F8F8F8;23 scrollbar-highlight-color: #A5A5A5;24 scrollbar-3d-light-color: #E5E5E5;25 scrollbar-shadow-color: #E5E5E5;26 scrollbar-dark-shadow-color: #036;27 SCROLLBAR-BASE-COLOR: #E5E5E5;28 SCROLLBAR-ARROW-COLOR: #888888;29 }30 -->31 </style>32 18 </head> 33 34 35 19 36 20 <frameset rows="*" cols="150,*" framespacing="0" frameborder="NO" border="0"> … … 39 23 </frameset> 40 24 41 42 25 </html> trunk/A2BCustomer_UI/lib/epayment/includes/PP_header.php
r1 r2 1 1 <?php 2 include (tep_href_link("lib/company_info.php","", 'SSL', false, false));3 2 4 define ("WEBUI_DATE", 'Release : 31 July 2006');5 define ("WEBUI_VERSION", 'Asterisk2Billing - Version 1.2.3 svn-trunk (BrainCoral)- ');3 include (tep_href_link("lib/defines.php","", 'SSL', false, false)); 4 6 5 ?> 7 6 <html><head> … … 68 67 </head> 69 68 <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> 70 <p class="version" align="right">< ?php echo WEBUI_VERSION.WEBUI_DATE; ?></p>69 <p class="version" align="right"></p> 71 70 <br> trunk/A2BCustomer_UI/lib/smarty.php
r1 r2 1 1 <?php 2 2 error_reporting(E_ALL ^ (E_NOTICE | E_WARNING)); 3 4 include (dirname(__FILE__)."/company_info.php");5 3 6 4 define( 'FULL_PATH', dirname(__FILE__) . '/' ); trunk/A2BCustomer_UI/PP_error.php
r1 r2 1 1 <?php 2 2 include ("lib/defines.php"); 3 include ("lib/company_info.php");4 3 5 4 $popup_select=1; … … 21 20 <br></br><br></br> 22 21 <table width="460" border="2" align="center" cellpadding="1" cellspacing="2" bordercolor="#eeeeff" bgcolor="#FFFFFF"> 23 <tr class="pp_error_maintable_tr1"> 24 22 <tr class="pp_error_maintable_tr1"> 25 23 <td> 26 24 <div align="center"><b><font size="3"><?php echo gettext("Error Page");?></font></b></div> trunk/A2Billing_UI/lib/epayment/includes/PP_header.php
r1 r2 1 1 <?php 2 include (tep_href_link("lib/company_info.php","", 'SSL', false, false));3 2 4 define ("WEBUI_DATE", 'Release : 31 July 2006');5 define ("WEBUI_VERSION", 'Asterisk2Billing - Version 1.2.3 svn-trunk (BrainCoral)- ');3 include (tep_href_link("lib/defines.php","", 'SSL', false, false)); 4 6 5 ?> 7 6 <html><head> … … 68 67 </head> 69 68 <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> 70 <p class="version" align="right">< ?php echo WEBUI_VERSION.WEBUI_DATE; ?></p>69 <p class="version" align="right"></p> 71 70 <br> trunk/A2Billing_UI/signup/activate.php
r1 r2 94 94 ?> 95 95 96 <blockquote> 97 <div align="center"><br></br> 98 <font color="#FF0000"><b><?php echo gettext("Welcome! Your account has been successfully activated. Thank you!"); ?></b></font><br> 99 <br></br> 100 101 102 <?php echo $list[0][2]; ?> <?php echo $list[0][1]; ?>, <?php echo gettext("Thank you for registering with us !");?><br> 103 <?php echo gettext("An email confirming your information has been sent to"); ?> <b><?php echo $list[0][3]; ?></b><br></br> 104 <h3> 105 <?php echo gettext("Your cardnumber is "); ?> <b><font color="#00AA00"><?php echo $list[0][0]; ?></font></b><br></br></br> 106 <?php echo gettext("To login to your account :"); ?></br> 107 <?php echo gettext("Your card alias (login) is "); ?> <b><font color="#00AA00"><?php echo $list[0][6]; ?></font></b><br> 108 <?php echo gettext("Your password is "); ?> <b><font color="#00AA00"><?php echo $list[0][4]; ?></font></b><br> 109 </h3> 110 111 <br><br> 112 <?php echo gettext("Follow the link to access your account : ").'<a href="'.$A2B->config["signup"]['urlcustomerinterface'].'">'.$A2B->config["signup"]['urlcustomerinterface']."</a><br>"; ?> 113 114 </div> 115 </blockquote> 96 <blockquote> 97 <div align="center"><br></br> 98 <font color="#FF0000"><b><?php echo gettext("Welcome! Your account has been successfully activated. Thank you!"); ?></b></font><br> 99 <br></br> 100 101 102 <?php echo $list[0][2]; ?> <?php echo $list[0][1]; ?>, <?php echo gettext("Thank you for registering with us !");?><br> 103 <?php echo gettext("An email confirming your information has been sent to"); ?> <b><?php echo $list[0][3]; ?></b><br></br> 104 <h3> 105 <?php echo gettext("Your cardnumber is "); ?> <b><font color="#00AA00"><?php echo $list[0][0]; ?></font></b><br></br></br> 106 <?php echo gettext("To login to your account :"); ?></br> 107 <?php echo gettext("Your card alias (login) is "); ?> <b><font color="#00AA00"><?php echo $list[0][6]; ?></font></b><br> 108 <?php echo gettext("Your password is "); ?> <b><font color="#00AA00"><?php echo $list[0][4]; ?></font></b><br> 109 </h3> 110 111 <br><br> 112 <?php echo gettext("Follow the link to access your account : ").'<a href="'.$A2B->config["signup"]['urlcustomerinterface'].'">'.$A2B->config["signup"]['urlcustomerinterface']."</a><br>"; ?> 113 114 </div> 115 </blockquote> 116 116 117 117 118 <?php }else{ ?> 119 118 120 <center> 119 121 <br></br><br></br> … … 130 132 <b> 131 133 132 <?php 133 if( $records[0][8] == "t") 134 { 135 echo gettext("Your account is already activated.")." <br>"; 136 } 137 elseif(isset($result) || $result != null) 138 { 139 // nada 140 } 141 else 142 { 143 echo gettext("Your account cannot be activated please contact <br> the website administrator or retry later.")." <br>"; 144 } 145 ?> 146 147 134 <?php 135 if( $records[0][8] == "t") 136 { 137 echo gettext("Your account is already activated.")." <br>"; 138 } 139 elseif(isset($result) || $result != null) 140 { 141 // nada 142 } 143 else 144 { 145 echo gettext("Your account cannot be activated please contact <br> the website administrator or retry later.")." <br>"; 146 } 147 ?> 148 148 149 </b> 149 150 … … 159 160 160 161 <?php 161 162 162 } 163 164 163 165 164 // #### FOOTER SECTION 166 165 $smarty->display('signup_footer.tpl'); 166 167 167 ?> trunk/A2Billing_UI/signup/PP_footer.php
r1 r2 2 2 if (isset($displayfooter) && $displayfooter==0){ echo '</body></html>'; exit();} 3 3 4 include (dirname(__FILE__)."/../lib/company_info.php");5 4 if ($DBHandle){ DbDisconnect($DBHandle);} 6 5 ?> trunk/A2Billing_UI/signup/PP_header.php
r1 r2 1 <?php2 include (dirname(__FILE__)."/../lib/company_info.php");3 ?>4 1 <html><head> 5 2 <link rel="shortcut icon" href="../Images/favicon.ico"> trunk/TODO
r1 r2 3 3 TODO LIST - SPECIFIC 4 4 ******************************************************************************** 5 6 #### FILE USED ? 7 ******************************************************************** 8 trunk/A2BCustomer_UI/lib/epayment/includes/PP_header.php 9 trunk/A2Billing_UI/lib/epayment/includes/PP_header.php 10 11 To remove : 12 trunk/A2Billing_UI/signup/PP_footer.php 13 trunk/A2Billing_UI/signup/PP_header.php 14 15 5 16 6 17 #### NEW LOGO ON MAIN PAGE
