Changeset 2

Show
Ignore:
Timestamp:
05/29/07 11:25:52 (5 years ago)
Author:
areski
Message:

TRAC BUG : Add/Change #9 (missing file company_info.php)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.3/A2BCustomer_UI/forgotpassword.php

    r1 r2  
    33// session_start(); 
    44 
    5 include (dirname(__FILE__)."/lib/company_info.php"); 
    65include ("./lib/defines.php"); 
    76 
     
    2726        $DBHandle  = DbConnect(); 
    2827        $QUERY = "SELECT mailtype, fromemail, fromname, subject, messagetext, messagehtml FROM cc_templatemail WHERE mailtype='forgetpassword' "; 
    29         $num = 0; 
     28                 
     29                $num = 0; 
    3030        $res = $DBHandle -> Execute($QUERY); 
    31         if ($res) 
     31               if ($res) 
    3232                $num = $res -> RecordCount(); 
    33  
     33                 
    3434        if (!$num) exit(); 
    3535        for($i=0;$i<$num;$i++) 
     
    107107 
    108108 
    109 //include("PP_header.php"); 
    110109 ?> 
    111110<html> 
     
    190189                        <tr> 
    191190                        <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> 
    193192                        <td class="bgcolor_006"> 
    194193                         
  • branches/1.3/A2BCustomer_UI/index2.php

    r1 r2  
    22include ("lib/defines.php"); 
    33include ("lib/module.access.php"); 
    4 include (dirname(__FILE__)."/lib/company_info.php"); 
    54 
    65 
    76if (! 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(); 
    1110} 
    1211 
     
    1716        <title>..:: :<?php echo CCMAINTITLE; ?>: ::..</title> 
    1817        <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> 
    3218</head> 
    33  
    34  
    3519 
    3620        <frameset rows="*" cols="150,*" framespacing="0" frameborder="NO" border="0"> 
     
    3923        </frameset> 
    4024 
    41  
    4225</html> 
  • branches/1.3/A2BCustomer_UI/lib/epayment/includes/PP_header.php

    r1 r2  
    11<?php 
    2         include (tep_href_link("lib/company_info.php","", 'SSL', false, false)); 
    32 
    4        define ("WEBUI_DATE", 'Release : 31 July 2006'); 
    5         define ("WEBUI_VERSION", 'Asterisk2Billing - Version 1.2.3 svn-trunk (BrainCoral)- '); 
     3include (tep_href_link("lib/defines.php","", 'SSL', false, false)); 
     4         
    65?> 
    76<html><head> 
     
    6867</head> 
    6968<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> 
    7170<br> 
  • branches/1.3/A2BCustomer_UI/lib/smarty.php

    r1 r2  
    11<?php 
    22error_reporting(E_ALL ^ (E_NOTICE | E_WARNING)); 
    3  
    4 include (dirname(__FILE__)."/company_info.php"); 
    53 
    64define( 'FULL_PATH', dirname(__FILE__) . '/' ); 
  • branches/1.3/A2BCustomer_UI/PP_error.php

    r1 r2  
    11<?php 
    22include ("lib/defines.php"); 
    3 include ("lib/company_info.php"); 
    43 
    54$popup_select=1; 
     
    2120<br></br><br></br> 
    2221<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"> 
    2523                <td>                                     
    2624                        <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  
    11<?php 
    2         include (tep_href_link("lib/company_info.php","", 'SSL', false, false)); 
    32 
    4        define ("WEBUI_DATE", 'Release : 31 July 2006'); 
    5         define ("WEBUI_VERSION", 'Asterisk2Billing - Version 1.2.3 svn-trunk (BrainCoral)- '); 
     3include (tep_href_link("lib/defines.php","", 'SSL', false, false)); 
     4         
    65?> 
    76<html><head> 
     
    6867</head> 
    6968<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> 
    7170<br> 
  • branches/1.3/A2Billing_UI/signup/activate.php

    r1 r2  
    9494?> 
    9595 
    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 
    116117 
    117118<?php }else{ ?> 
     119 
    118120<center> 
    119121<br></br><br></br> 
     
    130132<b> 
    131133 
    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 
     135if( $records[0][8] == "t") 
     136
     137        echo gettext("Your account is already activated.")." <br>"; 
     138
     139elseif(isset($result) || $result != null) 
     140
     141        // nada 
     142
     143else 
     144
     145        echo gettext("Your account cannot be activated please contact <br> the website administrator or retry later.")." <br>"; 
     146
     147?> 
     148 
    148149</b> 
    149150 
     
    159160 
    160161<?php 
    161  
    162162} 
    163  
    164163 
    165164// #### FOOTER SECTION 
    166165$smarty->display('signup_footer.tpl'); 
     166 
    167167?> 
  • branches/1.3/A2Billing_UI/signup/PP_footer.php

    r1 r2  
    22        if (isset($displayfooter) && $displayfooter==0){ echo '</body></html>'; exit();} 
    33 
    4     include (dirname(__FILE__)."/../lib/company_info.php"); 
    54        if ($DBHandle){ DbDisconnect($DBHandle);} 
    65?> 
  • branches/1.3/A2Billing_UI/signup/PP_header.php

    r1 r2  
    1 <?php  
    2         include (dirname(__FILE__)."/../lib/company_info.php"); 
    3 ?> 
    41<html><head> 
    52<link rel="shortcut icon" href="../Images/favicon.ico"> 
  • branches/1.3/TODO

    r1 r2  
    44******************************************************************************** 
    55 
     6#### FILE USED ? 
     7******************************************************************** 
     8trunk/A2BCustomer_UI/lib/epayment/includes/PP_header.php 
     9trunk/A2Billing_UI/lib/epayment/includes/PP_header.php 
     10 
     11To remove :  
     12trunk/A2Billing_UI/signup/PP_footer.php 
     13trunk/A2Billing_UI/signup/PP_header.php 
     14 
     15 
     16 
     17#### NEW LOGO ON MAIN PAGE 
     18******************************************************************** 
    619 
    720 
     
    5265 
    5366 
    54  
    55  
    56 #### CALLBACK : INTRO MESSAGE 
    57 ******************************************************************** 
    58 Play an intro message on CallBack 
    5967 
    6068 
  • trunk/A2BCustomer_UI/forgotpassword.php

    r1 r2  
    33// session_start(); 
    44 
    5 include (dirname(__FILE__)."/lib/company_info.php"); 
    65include ("./lib/defines.php"); 
    76 
     
    2726        $DBHandle  = DbConnect(); 
    2827        $QUERY = "SELECT mailtype, fromemail, fromname, subject, messagetext, messagehtml FROM cc_templatemail WHERE mailtype='forgetpassword' "; 
    29         $num = 0; 
     28                 
     29                $num = 0; 
    3030        $res = $DBHandle -> Execute($QUERY); 
    31         if ($res) 
     31               if ($res) 
    3232                $num = $res -> RecordCount(); 
    33  
     33                 
    3434        if (!$num) exit(); 
    3535        for($i=0;$i<$num;$i++) 
     
    107107 
    108108 
    109 //include("PP_header.php"); 
    110109 ?> 
    111110<html> 
     
    190189                        <tr> 
    191190                        <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> 
    193192                        <td class="bgcolor_006"> 
    194193                         
  • trunk/A2BCustomer_UI/index2.php

    r1 r2  
    22include ("lib/defines.php"); 
    33include ("lib/module.access.php"); 
    4 include (dirname(__FILE__)."/lib/company_info.php"); 
    54 
    65 
    76if (! 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(); 
    1110} 
    1211 
     
    1716        <title>..:: :<?php echo CCMAINTITLE; ?>: ::..</title> 
    1817        <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> 
    3218</head> 
    33  
    34  
    3519 
    3620        <frameset rows="*" cols="150,*" framespacing="0" frameborder="NO" border="0"> 
     
    3923        </frameset> 
    4024 
    41  
    4225</html> 
  • trunk/A2BCustomer_UI/lib/epayment/includes/PP_header.php

    r1 r2  
    11<?php 
    2         include (tep_href_link("lib/company_info.php","", 'SSL', false, false)); 
    32 
    4        define ("WEBUI_DATE", 'Release : 31 July 2006'); 
    5         define ("WEBUI_VERSION", 'Asterisk2Billing - Version 1.2.3 svn-trunk (BrainCoral)- '); 
     3include (tep_href_link("lib/defines.php","", 'SSL', false, false)); 
     4         
    65?> 
    76<html><head> 
     
    6867</head> 
    6968<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> 
    7170<br> 
  • trunk/A2BCustomer_UI/lib/smarty.php

    r1 r2  
    11<?php 
    22error_reporting(E_ALL ^ (E_NOTICE | E_WARNING)); 
    3  
    4 include (dirname(__FILE__)."/company_info.php"); 
    53 
    64define( 'FULL_PATH', dirname(__FILE__) . '/' ); 
  • trunk/A2BCustomer_UI/PP_error.php

    r1 r2  
    11<?php 
    22include ("lib/defines.php"); 
    3 include ("lib/company_info.php"); 
    43 
    54$popup_select=1; 
     
    2120<br></br><br></br> 
    2221<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"> 
    2523                <td>                                     
    2624                        <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  
    11<?php 
    2         include (tep_href_link("lib/company_info.php","", 'SSL', false, false)); 
    32 
    4        define ("WEBUI_DATE", 'Release : 31 July 2006'); 
    5         define ("WEBUI_VERSION", 'Asterisk2Billing - Version 1.2.3 svn-trunk (BrainCoral)- '); 
     3include (tep_href_link("lib/defines.php","", 'SSL', false, false)); 
     4         
    65?> 
    76<html><head> 
     
    6867</head> 
    6968<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> 
    7170<br> 
  • trunk/A2Billing_UI/signup/activate.php

    r1 r2  
    9494?> 
    9595 
    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 
    116117 
    117118<?php }else{ ?> 
     119 
    118120<center> 
    119121<br></br><br></br> 
     
    130132<b> 
    131133 
    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 
     135if( $records[0][8] == "t") 
     136
     137        echo gettext("Your account is already activated.")." <br>"; 
     138
     139elseif(isset($result) || $result != null) 
     140
     141        // nada 
     142
     143else 
     144
     145        echo gettext("Your account cannot be activated please contact <br> the website administrator or retry later.")." <br>"; 
     146
     147?> 
     148 
    148149</b> 
    149150 
     
    159160 
    160161<?php 
    161  
    162162} 
    163  
    164163 
    165164// #### FOOTER SECTION 
    166165$smarty->display('signup_footer.tpl'); 
     166 
    167167?> 
  • trunk/A2Billing_UI/signup/PP_footer.php

    r1 r2  
    22        if (isset($displayfooter) && $displayfooter==0){ echo '</body></html>'; exit();} 
    33 
    4     include (dirname(__FILE__)."/../lib/company_info.php"); 
    54        if ($DBHandle){ DbDisconnect($DBHandle);} 
    65?> 
  • trunk/A2Billing_UI/signup/PP_header.php

    r1 r2  
    1 <?php  
    2         include (dirname(__FILE__)."/../lib/company_info.php"); 
    3 ?> 
    41<html><head> 
    52<link rel="shortcut icon" href="../Images/favicon.ico"> 
  • trunk/TODO

    r1 r2  
    33                                        TODO LIST - SPECIFIC 
    44******************************************************************************** 
     5 
     6#### FILE USED ? 
     7******************************************************************** 
     8trunk/A2BCustomer_UI/lib/epayment/includes/PP_header.php 
     9trunk/A2Billing_UI/lib/epayment/includes/PP_header.php 
     10 
     11To remove :  
     12trunk/A2Billing_UI/signup/PP_footer.php 
     13trunk/A2Billing_UI/signup/PP_header.php 
     14 
     15 
    516 
    617#### NEW LOGO ON MAIN PAGE