include file ='../header.html'
if $product_array.p_id != ""
assign var='action' value='update'
else
assign var='action' value='save'
/if
$langProductInfo
$langSelltype
if $selltype==0 checked="checked"
/if
/>
$langProductAAuction
if $selltype==1 checked="checked"
/if
/>
$langProductPrice
if $selltype==2 checked="checked"
/if
/>
$langPcamel
$langProductCate
if $product_array.p_code eq ''
$cate_name
else
$cate_name
foreach item = parent from = $ProductCateArray
$parent.name
/foreach
/if
$langProductAType
if $product_array.p_type == 0 checked="checked"
/if
/>
$langProductTypeNew
if $product_array.p_type == 1 checked="checked"
/if
/>
$langProductTypeSec
if $product_array.p_type == 2 checked="checked"
/if
/>
$langProductTypePlace
if $shop_product_cate_array
$langPShopClassSelect
$langPPleaseSelect
section name=loop loop=$shop_product_cate_array
if $product_array.p_class_id eq $shop_product_cate_array[loop].class_id selected
/if
>
$shop_product_cate_array[loop].class_name
foreach from=$shop_product_cate_array[loop].child item=one
if $product_array.p_class_id eq $one.class_id selected
/if
>
$one.class_name
/foreach
/section
/if
if $have_attribute == 1
$langProductAttribute
foreach from=$product_attribute item=one
$one.a_name
:
if $one.a_type == 0
foreach from=$one.content item=two
if $two.ischecked eq 1 selected="selected"
/if
>
$two.ac_content
/foreach
/if
if $one.a_type == 1
foreach from=$one.content item=two
if $two.ischecked eq 1 selected="selected"
/if
>
$two.ac_content
/foreach
/if
/foreach
/if
if $brand_list[0].pb_id neq ''
$langPBrand
foreach item = parent from = $brand_list
if $sel_brand[0].pb_id eq $parent.pb_id selected="selected"
/if
value="
$parent.pb_id
||
$parent.is_parent
">
$parent.pb_name
/foreach
$sel_brand[1].pb_name
$sel_brand[2].pb_name
/if
$langProductName
$alertPname
$langUploadPic
section name=loop loop=$pic_array
$site_url /
$pic_array[loop].small_pic
/>
$pic_array[loop].small_pic ",this);>
$langbtnProductDel
/section
$langProductPicSize
$langProductInfo
php
include("../classes/resource/fckeditor/fckeditor.php") ; $oFCKeditor = new FCKeditor('txtPinfo') ; $oFCKeditor->BasePath = '../classes/resource/fckeditor/' ; $oFCKeditor->ToolbarSet = 'Simple'; $oFCKeditor->Width = 485 ; $oFCKeditor->Height = 330 ; $oFCKeditor->Value = $this->_tpl_vars['product_array']['p_intro'] ; $oFCKeditor->Create() ;
/php
$langProductStorage
$langProductAPiece
$langProductPayment
foreach from=$payment_array item=one key=key
if $one.check eq '1' checked="checked"
/if
value="
$key
" name="txtPayment[
$key
]" id="txtPayment_
$key
" />
$one.name
/foreach
$langPPaymentDescription
section name=loop loop=$payment_description
$payment_description[loop].name
;
/section
$langProductCurrency
foreach from=$exchange_array item=one key=key
foreach item=two from=$product_currency
if $two eq $one.exchange_name
checked="checked"
/if
/foreach
name="currency[
$one.exchange_name
]" id="currency_
$one.exchange_name
" value="
$one.exchange_name
" />
$one.exchange_remark
(
$one.exchange_name
)
if $product_array.p_price neq ''
if $product_array.p_price/$one.exchange_rate*100|string_format:"%.2f" < 0.01
0.01
else
$product_array.p_price/$one.exchange_rate*100|string_format:"%.2f"
/if
/if
/foreach
$langPCurrencyDescription
section name=loop loop=$exchange_array
$exchange_array[loop].exchange_name
;
/section
$langTradeCondition
$langProductABeginPrice
$langProductABeginPriceIsLowPrice
$langProductAPriceAddScope
$langProductASystemAuto
$langProductAUserDefined
$langProductACommendYouSelect
$langProductASystemAutoAddPrice
$langProductPrice
$langProductAFastnessPrice
$langProductAGroupPrice
$langProductABuyNumlowNum
$langProductAddOldPrice
$langProductAOldPriceGroup
$langProductAGroupMinCount
$langProductAPiece
$langProductA5To100BabyNum
$langProductABuyNumGroupMixNum
$langProductArea
foreach item = parent from = $area_array
if $sel_area[0].area_id eq $parent.area_id selected="selected"
/if
value="
$parent.area_id
||
$parent.is_parent
">
$parent.area_name
/foreach
$sel_area[1].area_name
$sel_area[2].area_name
$sel_area[3].area_name
$langTranFee
if $product_array.p_transfee_charge eq '0' || $product_array.p_transfee_charge eq '' checked="checked"
/if
/>
$langSelaTranFee
if $product_array.p_transfee_charge eq '1' checked="checked"
/if
/>
$langProductAListBear
if $product_array.p_transfee_charge eq '0' || $product_array.p_transfee_charge eq '' style="display:none"
/if
>
$langPCommonlyPost
:
$langCYuan
$langPCelerityPost
:
$langCYuan
EMS:
$langCYuan
$langProductATranFeeKilter
$langProductASaleBabyIssue
$langProductAInvoices
if $product_array.p_have_invoices eq 0 checked
/if
/>
$langCNot
if $product_array.p_have_invoices eq 1 checked
/if
/>
$langCHave
$langWarranty
if $product_array.p_have_warranty eq 0 checked
/if
/>
$langCNot
if $product_array.p_have_warranty eq 1 checked
/if
/>
$langCHave
$langPattestation
if $product_array.p_genuine eq '1' checked
/if
/>
$langPgenuine
if $product_array.p_7day_return eq '1' checked
/if
/>
$langP7dayreturn
$langProductAOtherInfo
$langValidDays
$langProductADay
$langProductABabyInfoIssueTime
$langStartTime
$langProductAOnce
$langProductAEnactment
2007
$langProductAYear
$langProductAHour
$langProductAMinute
$langProductAEnactmentBabySaleTime
$langProductAPutDepot
$langProductAAutoPublish
if $product_array.p_auto_publish == "1" checked
/if
/>
$langCYes
$langProductASystemHelpYouAuto
$langRecommended
if $product_array.p_recommended == "1" checked
/if
/>
$langCYes
$langProductARemark
$product_array.p_remark
include file ='../footer.html'
include file ='../javascript/changedate.html'