Changeset 11492


Ignore:
Timestamp:
2007/02/28 18:57:37 (15 years ago)
Author:
uehara
Message:
 
Location:
branches/dev/html/install
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/install/index.php

    r11478 r11492  
    258258     
    259259    // ¥µ¥¤¥È¾ðÊó¤òÁ÷¿®¤·¤Æ¤âÎɤ¤¾ì¹ç¤Ë¤ÏÁ÷¤ë 
    260     if($_POST['send_info'] == "true"){ 
    261         $req = new HTTP_Request("http://www.ec-cube.net/mall/use_site.php"); 
    262         $req->setMethod(HTTP_REQUEST_METHOD_POST); 
    263          
    264         $arrSendData = array(); 
    265         foreach($_POST as $key => $val){ 
    266             if (ereg("^senddata_*", $key)){ 
    267                 $arrSendDataTmp = array(str_replace("senddata_", "", $key) => $val); 
    268                 $arrSendData = array_merge($arrSendData, $arrSendDataTmp); 
    269             } 
    270         } 
    271          
    272         $req->addPostDataArray($arrSendData); 
    273          
    274         if (!PEAR::isError($req->sendRequest())) { 
    275             $response1 = $req->getResponseBody(); 
    276         } else { 
    277             $response1 = ""; 
    278         } 
    279         $req->clearPostData(); 
    280     } 
     260    $req = new HTTP_Request("http://www.ec-cube.net/mall/use_site.php"); 
     261    $req->setMethod(HTTP_REQUEST_METHOD_POST); 
     262     
     263    $arrSendData = array(); 
     264    foreach($_POST as $key => $val){ 
     265        if (ereg("^senddata_*", $key)){ 
     266            $arrSendDataTmp = array(str_replace("senddata_", "", $key) => $val); 
     267            $arrSendData = array_merge($arrSendData, $arrSendDataTmp); 
     268        } 
     269    } 
     270     
     271    $req->addPostDataArray($arrSendData); 
     272     
     273    if (!PEAR::isError($req->sendRequest())) { 
     274        $response1 = $req->getResponseBody(); 
     275    } else { 
     276        $response1 = ""; 
     277    } 
     278    $req->clearPostData(); 
    281279     
    282280    break; 
     
    435433} 
    436434 
     435// STEP0_1²èÌ̤Îɽ¼¨(¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼)  
     436function lfDispStep0_1($objPage) { 
     437    global $objWebParam; 
     438    global $objDBParam; 
     439    // hidden¤ËÆþÎÏÃͤòÊÝ»ý 
     440    $objPage->arrHidden = $objWebParam->getHashArray(); 
     441    // hidden¤ËÆþÎÏÃͤòÊÝ»ý 
     442    $objPage->arrHidden = array_merge($objPage->arrHidden, $objDBParam->getHashArray()); 
     443    $objPage->arrHidden['db_skip'] = $_POST['db_skip']; 
     444    $objPage->tpl_mainpage = 'step0_1.tpl'; 
     445    $objPage->tpl_mode = 'step0_1'; 
     446    // ¥Õ¥¡¥¤¥ë¥³¥Ô¡¼ 
     447    $objPage->copy_mess = sfCopyDir("./user_data/", "../user_data/", $objPage->copy_mess); 
     448    $objPage->copy_mess = sfCopyDir("./save_image/", "../upload/save_image/", $objPage->copy_mess);  
     449    return $objPage; 
     450} 
    437451 
    438452// STEP0_2²èÌ̤Îɽ¼¨(¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼)  
  • branches/dev/html/install/templates/agreement.tpl

    r11491 r11492  
    4747</tr> 
    4848<!--{assign var=key value="send_info"}--> 
    49 <tr><td align="left" class="fs12"><input type="radio" id="agreement_yes" name="<!--{$key}-->" value=1 onclick="fnChangeVisible('agreement_yes', 'next');" <!--{if $arrForm[$key].value|escape}-->checked<!--{/if}-->><label for="agreement_yes">Ʊ°Õ¤¹¤ë</label>¡¡<input type="radio" id="agreement_no" name="<!--{$key}-->" value=false onclick="fnChangeVisible('agreement_yes', 'next');" <!--{if !$arrForm[$key].value|escape}-->checked<!--{/if}-->><label for="agreement_no">Ʊ°Õ¤·¤Ê¤¤</label></td></tr> 
     49<tr><td align="left" class="fs12"><input type="radio" id="agreement_yes" name="<!--{$key}-->" value=true onclick="fnChangeVisible('agreement_yes', 'next');" <!--{if $arrForm[$key].value|escape}-->checked<!--{/if}-->><label for="agreement_yes">Ʊ°Õ¤¹¤ë</label>¡¡<input type="radio" id="agreement_no" name="<!--{$key}-->" value=false onclick="fnChangeVisible('agreement_yes', 'next');" <!--{if !$arrForm[$key].value|escape}-->checked<!--{/if}-->><label for="agreement_no">Ʊ°Õ¤·¤Ê¤¤</label></td></tr> 
    5050</table> 
    5151 
Note: See TracChangeset for help on using the changeset viewer.