Changeset 15168 for branches/feature-module-paygent/data/downloads/module
- Timestamp:
- 2007/08/03 16:17:45 (17 years ago)
- Location:
- branches/feature-module-paygent/data/downloads/module/mdl_paygent
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-paygent/data/downloads/module/mdl_paygent/mdl_paygent.inc
r15162 r15168 67 67 'D033' => '¥¸¥ã¥Ñ¥ó¥Í¥Ã¥È¶ä¹Ô', 68 68 'D036' => '¥¤¡¼¥Ð¥ó¥¯' 69 ); 70 71 // ¥¯¥ì¥¸¥Ã¥Èʬ³ä²ó¿ô 72 $arrCreditSplit = array( 73 '10' => '°ì³çʧ¤¤', 74 '61-2' => 'ʬ³äʧ¤¤(2²ó)', 75 '61-3' => 'ʬ³äʧ¤¤(3²ó)', 76 '61-6' => 'ʬ³äʧ¤¤(6²ó)', 77 '61-10' => 'ʬ³äʧ¤¤(10²ó)', 78 '61-15' => 'ʬ³äʧ¤¤(15²ó)', 79 '61-20' => 'ʬ³äʧ¤¤(20²ó)', 80 '80' => '¥ê¥Üʧ¤¤' 69 81 ); 70 82 … … 161 173 // ¥³¥ó¥Ó¥Ë·èºÑ 162 174 $arrSend = sfGetPaygentShare(PAYGENT_CONVENI, $arrData); 163 164 sfPrintR($arrInput);165 175 166 176 /** ¸ÄÊÌÅÅʸ **/ … … 414 424 return array("name" => $name, "value" => $value); 415 425 } 426 427 /************************************************************************************************************** 428 * ´Ø¿ô̾ ¡§sfPaygentDisp 429 * ½èÍýÆâÍÆ ¡§¶¦Ä̤Îɽ¼¨½èÍý 430 * °ú¿ô1 ¡§ 431 * °ú¿ô2 ¡§ 432 * °ú¿ô3 ¡§ 433 * Ìá¤êÃÍ ¡§¼èÆÀ·ë²Ì 434 **************************************************************************************************************/ 435 function sfPaygentDisp($objPage, $payment_id) { 436 $objQuery = new SC_Query(); 437 // »Ùʧ¤¤ÊýË¡¤ÎÀâÌÀ²èÁü¤ò¼èÆÀ¤¹¤ë¡£ 438 $arrRet = $objQuery->select("payment_method, payment_image", "dtb_payment", "payment_id = ?", array($payment_id)); 439 $objPage->tpl_payment_method = $arrRet[0]['payment_method']; 440 $objPage->tpl_payment_image = $arrRet[0]['payment_image']; 441 return $objPage; 442 } 416 443 ?> -
branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_atm.php
r15162 r15168 69 69 } else { 70 70 // ¼ºÇÔ 71 $objPage->tpl_error = " ÆþÎÏÆâÍƤò¤´³Îǧ¤¯¤À¤µ¤¤¡£";71 $objPage->tpl_error = "ǧ¾Ú¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£"; 72 72 } 73 73 } … … 75 75 } 76 76 77 $objDate = new SC_Date(); 78 $objDate->setStartYear(RELEASE_YEAR); 79 $objDate->setEndYear(RELEASE_YEAR + CREDIT_ADD_YEAR); 80 $objPage->arrYear = $objDate->getZeroYear(); 81 $objPage->arrMonth = $objDate->getZeroMonth(); 77 // ¶¦Ä̤Îɽ¼¨½àÈ÷ 78 $objPage = sfPaygentDisp($objPage, $payment_id); 82 79 83 80 $objPage->arrForm = $objFormParam->getFormParamList(); -
branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_atm.tpl
r15162 r15168 31 31 <tr> 32 32 <td background="/img/contents/contents_title_left_bg.gif"><img src="/img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> 33 <td bgcolor="#636469" width="638" class="fs1 4n"><strong><span class="white">£Á£Ô£Í·èºÑ</span><strong></td>33 <td bgcolor="#636469" width="638" class="fs16n"><strong><span class="white"><!--{$tpl_payment_method}--></span><strong></td> 34 34 <td background="/img/contents/contents_title_right_bg.gif"><img src="/img/common/_.gif" width="18" height="1" alt=""></td> 35 35 </tr> … … 43 43 <tr> 44 44 <td bgcolor="#ffffff"> 45 <!--{if $tpl_error != ""}--> 46 <!-- ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸ --> 47 <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> 48 <tr> 49 <td bgcolor="#cccccc"> 50 <table width="666" border="0" cellspacing="1" cellpadding="10" summary=" "> 51 <tr> 52 <td width="170" class="fs12" bgcolor="#ffffff"> 53 <span class="redst"><!--{$tpl_error}--></span> 54 </td> 55 </tr> 56 </table> 57 </tr> 58 <tr><td height="15"></td></tr> 59 </table> 60 <!--{/if}--> 45 61 <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> 46 62 <form name="form1" id="form1" method="post" action="./load_payment_module.php" autocomplete="off"> 47 63 <input type="hidden" name="mode" value="next"> 48 64 <input type="hidden" name="uniqid" value=""> 49 <tr><td height="5" class="fs12"><span class="red"><!--{$tpl_error}--></span></td></tr>50 65 <tr> 51 66 <td bgcolor="#cccccc"> 52 67 <table width="666" border="0" cellspacing="1" cellpadding="10" summary=" "> 68 <!--{if $tpl_payment_image != ""}--> 69 <tr> 70 <td width="170" class="fs12" bgcolor="#f3f3f3">¤´ÍøÍѤ¤¤¿¤À¤±¤ë¶âÍ»µ¡´Ø¤Î¼ïÎà</td> 71 <td width="453" bgcolor="#ffffff"> 72 <img src="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$tpl_payment_image}-->"> 73 </td> 74 </tr> 75 <!--{/if}--> 53 76 <tr> 54 77 <td class="fs12" bgcolor="#f3f3f3">ÍøÍѼÔ</td> -
branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_bank.php
r15162 r15168 66 66 // Àµ¾ï¤ËÅÐÏ¿¤µ¤ì¤¿¤³¤È¤òµÏ¿¤·¤Æ¤ª¤¯ 67 67 $objPage->tpl_mainpage = MODULE_PATH . 'mdl_paygent/paygent_bank_redirect.tpl'; 68 $objPage->tpl_ mess = "¡Ö".$arrNetBank[$arrInput['bank_code']]."¡×·èºÑ¤Î¥Ú¡¼¥¸¤Ø°ÜÆ°¤·¤Þ¤¹¡£";68 $objPage->tpl_bank = $arrNetBank[$arrInput['bank_code']]; 69 69 $objPage->tpl_form = mb_convert_encoding($arrRet['redirect_html'], CHAR_CODE, "Shift-JIS"); 70 70 } else { 71 71 // ¼ºÇÔ 72 $objPage->tpl_error = " ÆþÎÏÆâÍƤò¤´³Îǧ¤¯¤À¤µ¤¤¡£";72 $objPage->tpl_error = "ǧ¾Ú¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£"; 73 73 } 74 74 } … … 81 81 $objPage->arrYear = $objDate->getZeroYear(); 82 82 $objPage->arrMonth = $objDate->getZeroMonth(); 83 84 // ¶¦Ä̤Îɽ¼¨½àÈ÷ 85 $objPage = sfPaygentDisp($objPage, $payment_id); 83 86 84 87 $objPage->arrNetBank = $arrNetBank; -
branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_bank.tpl
r15162 r15168 31 31 <tr> 32 32 <td background="/img/contents/contents_title_left_bg.gif"><img src="/img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> 33 <td bgcolor="#636469" width="638" class="fs1 4n"><strong><span class="white">¶ä¹Ô¥Í¥Ã¥È·èºÑ</span><strong></td>33 <td bgcolor="#636469" width="638" class="fs16n"><strong><span class="white"><!--{$tpl_payment_method}--></span><strong></td> 34 34 <td background="/img/contents/contents_title_right_bg.gif"><img src="/img/common/_.gif" width="18" height="1" alt=""></td> 35 35 </tr> … … 43 43 <tr> 44 44 <td bgcolor="#ffffff"> 45 <!--{if $tpl_error != ""}--> 46 <!-- ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸ --> 47 <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> 48 <tr> 49 <td bgcolor="#cccccc"> 50 <table width="666" border="0" cellspacing="1" cellpadding="10" summary=" "> 51 <tr> 52 <td width="170" class="fs12" bgcolor="#ffffff"> 53 <span class="redst"><!--{$tpl_error}--></span> 54 </td> 55 </tr> 56 </table> 57 </tr> 58 <tr><td height="15"></td></tr> 59 </table> 60 <!--{/if}--> 45 61 <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> 46 62 <form name="form1" id="form1" method="post" action="./load_payment_module.php" autocomplete="off"> 47 63 <input type="hidden" name="mode" value="next"> 48 64 <input type="hidden" name="uniqid" value=""> 49 <tr><td height="5" class="fs12"><span class="red"><!--{$tpl_error}--></span></td></tr>50 65 <tr> 51 66 <td bgcolor="#cccccc"> 52 67 <table width="666" border="0" cellspacing="1" cellpadding="10" summary=" "> 68 <!--{if $tpl_payment_image != ""}--> 69 <tr> 70 <td width="170" class="fs12" bgcolor="#f3f3f3">¤´ÍøÍѤ¤¤¿¤À¤±¤ë¥Í¥Ã¥È¥Ð¥ó¥¯¤Î¼ïÎà</td> 71 <td width="453" bgcolor="#ffffff"> 72 <img src="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$tpl_payment_image}-->"> 73 </td> 74 </tr> 75 <!--{/if}--> 53 76 <tr> 54 77 <td class="fs12" bgcolor="#f3f3f3">¥Í¥Ã¥È¥Ð¥ó¥¯¤ÎÁªÂò</td> -
branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_bank_redirect.tpl
r15162 r15168 49 49 <tr> 50 50 <td class="fs12st" bgcolor="#ffffff" align="center"> 51 <!--{$tpl_mess}--><!--{$tpl_form}-->51 ¡Ö<!--{$tpl_bank}-->¡×¤Î·èºÑ¥Ú¡¼¥¸¤Ø¤ª¿Ê¤ß²¼¤µ¤¤¡£<!--{$tpl_form}--> 52 52 </td> 53 53 </tr> -
branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_conveni.php
r15162 r15168 69 69 } else { 70 70 // ¼ºÇÔ 71 $objPage->tpl_error = " ÆþÎÏÆâÍƤò¤´³Îǧ¤¯¤À¤µ¤¤¡£";71 $objPage->tpl_error = "ǧ¾Ú¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£"; 72 72 } 73 73 } … … 75 75 } 76 76 77 $objDate = new SC_Date(); 78 $objDate->setStartYear(RELEASE_YEAR); 79 $objDate->setEndYear(RELEASE_YEAR + CREDIT_ADD_YEAR); 80 $objPage->arrYear = $objDate->getZeroYear(); 81 $objPage->arrMonth = $objDate->getZeroMonth(); 77 78 // ¶¦Ä̤Îɽ¼¨½àÈ÷ 79 $objPage = sfPaygentDisp($objPage, $payment_id); 82 80 83 81 $objPage->arrConvenience = $arrConvenience; -
branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_conveni.tpl
r15162 r15168 31 31 <tr> 32 32 <td background="/img/contents/contents_title_left_bg.gif"><img src="/img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> 33 <td bgcolor="#636469" width="638" class="fs1 4n"><strong><span class="white">¥³¥ó¥Ó¥Ë·èºÑ</span><strong></td>33 <td bgcolor="#636469" width="638" class="fs16n"><strong><span class="white"><!--{$tpl_payment_method}--></span><strong></td> 34 34 <td background="/img/contents/contents_title_right_bg.gif"><img src="/img/common/_.gif" width="18" height="1" alt=""></td> 35 35 </tr> … … 43 43 <tr> 44 44 <td bgcolor="#ffffff"> 45 <!--{if $tpl_error != ""}--> 46 <!-- ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸ --> 47 <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> 48 <tr> 49 <td bgcolor="#cccccc"> 50 <table width="666" border="0" cellspacing="1" cellpadding="10" summary=" "> 51 <tr> 52 <td width="170" class="fs12" bgcolor="#ffffff"> 53 <span class="redst"><!--{$tpl_error}--></span> 54 </td> 55 </tr> 56 </table> 57 </tr> 58 <tr><td height="15"></td></tr> 59 </table> 60 <!--{/if}--> 45 61 <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> 46 62 <form name="form1" id="form1" method="post" action="./load_payment_module.php" autocomplete="off"> 47 63 <input type="hidden" name="mode" value="next"> 48 64 <input type="hidden" name="uniqid" value=""> 49 <tr><td height="5" class="fs12"><span class="red"><!--{$tpl_error}--></span></td></tr>50 65 <tr> 51 66 <td bgcolor="#cccccc"> 52 67 <table width="666" border="0" cellspacing="1" cellpadding="10" summary=" "> 68 <!--{if $tpl_payment_image != ""}--> 69 <tr> 70 <td width="170" class="fs12" bgcolor="#f3f3f3">¤´ÍøÍѤ¤¤¿¤À¤±¤ë¥³¥ó¥Ó¥Ë¤Î¼ïÎà</td> 71 <td width="453" bgcolor="#ffffff"> 72 <img src="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$tpl_payment_image}-->"> 73 </td> 74 </tr> 75 <!--{/if}--> 53 76 <tr> 54 77 <td class="fs12" bgcolor="#f3f3f3">¥³¥ó¥Ó¥ËÁªÂò</td> -
branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_credit.php
r15162 r15168 60 60 $arrInput = $objFormParam->getHashArray(); 61 61 // ¥¯¥ì¥¸¥Ã¥ÈÅÅʸÁ÷¿® 62 list($result, $message)= sfSendPaygentCredit($arrData, $arrInput, $uniqid);62 $arrRet = sfSendPaygentCredit($arrData, $arrInput, $uniqid); 63 63 64 64 // À®¸ù 65 if($ result!= "") {65 if($arrRet['payment_id'] != "") { 66 66 // Àµ¾ï¤ËÅÐÏ¿¤µ¤ì¤¿¤³¤È¤òµÏ¿¤·¤Æ¤ª¤¯ 67 67 $objSiteSess->setRegistFlag(); … … 69 69 } else { 70 70 // ¼ºÇÔ 71 $objPage->tpl_error = " ÆþÎÏÆâÍƤò¤´³Îǧ¤¯¤À¤µ¤¤¡£";71 $objPage->tpl_error = "ǧ¾Ú¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£"; 72 72 } 73 73 } … … 80 80 $objPage->arrYear = $objDate->getZeroYear(); 81 81 $objPage->arrMonth = $objDate->getZeroMonth(); 82 83 // ¶¦Ä̤Îɽ¼¨½àÈ÷ 84 $objPage = sfPaygentDisp($objPage, $payment_id); 82 85 83 86 $objPage->arrForm = $objFormParam->getFormParamList(); -
branches/feature-module-paygent/data/downloads/module/mdl_paygent/paygent_credit.tpl
r15162 r15168 31 31 <tr> 32 32 <td background="/img/contents/contents_title_left_bg.gif"><img src="/img/contents/contents_title_left.gif" width="22" height="12" alt=""></td> 33 <td bgcolor="#636469" width="638" class="fs1 4n"><strong><span class="white">¥¯¥ì¥¸¥Ã¥È·èºÑ</span><strong></td>33 <td bgcolor="#636469" width="638" class="fs16n"><strong><span class="white"><!--{$tpl_payment_method}--></span><strong></td> 34 34 <td background="/img/contents/contents_title_right_bg.gif"><img src="/img/common/_.gif" width="18" height="1" alt=""></td> 35 35 </tr> … … 43 43 <tr> 44 44 <td bgcolor="#ffffff"> 45 46 <!--{if $tpl_error != ""}--> 47 <!-- ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸ --> 48 <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> 49 <tr> 50 <td bgcolor="#cccccc"> 51 <table width="666" border="0" cellspacing="1" cellpadding="10" summary=" "> 52 <tr> 53 <td width="170" class="fs12" bgcolor="#ffffff"> 54 <span class="redst"><!--{$tpl_error}--></span> 55 </td> 56 </tr> 57 </table> 58 </tr> 59 <tr><td height="15"></td></tr> 60 </table> 61 <!--{/if}--> 62 45 63 <table width="666" border="0" cellspacing="0" cellpadding="0" summary=" "> 46 64 <form name="form1" id="form1" method="post" action="./load_payment_module.php" autocomplete="off"> 47 65 <input type="hidden" name="mode" value="next"> 48 66 <input type="hidden" name="uniqid" value=""> 49 <tr><td height="5" class="fs12">< span class="red"><!--{$tpl_error}--></span></td></tr>67 <tr><td height="5" class="fs12"></td></tr> 50 68 <tr> 51 69 <td bgcolor="#cccccc"> 52 70 <table width="666" border="0" cellspacing="1" cellpadding="10" summary=" "> 71 <!--{if $tpl_payment_image != ""}--> 53 72 <tr> 54 73 <td width="170" class="fs12" bgcolor="#f3f3f3">¤´ÍøÍѤ¤¤¿¤À¤±¤ë¥«¡¼¥É¤Î¼ïÎà</td> 55 56 <td width="453" bgcolor="#ffffff">¡¦¡¦¡¦</td> 74 <td width="453" bgcolor="#ffffff"> 75 <img src="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$tpl_payment_image}-->"> 76 </td> 57 77 </tr> 78 <!--{/if}--> 58 79 <tr> 59 80 <td class="fs12" bgcolor="#f3f3f3">¥«¡¼¥ÉÈÖ¹æ</td>
Note: See TracChangeset
for help on using the changeset viewer.