`*[foxpro]

local rts
rts=select()

local rules,news
rules=cur_a_rules_main_news()
news=cur_a_ppn_table_news()

Local rules__vp,news_pict_rules,news_id_pict_,rules__s,rules__fmax,rules__fmaxs,news_short_,rules__sl,news_id_,rules__d,news_datetime_,rules__f,news_full_,rules_pict_rul
rules__vp=rules+".__vp"
news_id_pict_=news+".id_pict_"
rules__s=rules+".__s"
rules__fmax=rules+ ".__fmax"
rules__fmaxs=rules+ ".__fmaxs"
news_short_=news+ ".short_"
rules__sl=rules+ ".__sl"
news_id_=news+".id_"
rules__d=rules+ ".__d"
news_datetime_=news+ ".datetime_"
rules__f=rules+ ".__f"
news_full_=news+ ".full_"
rules_pict_rul=rules+".pict_rul"

iik=&news_id_
tiik="i_news_page_"+padl(&news_id_,15,"0")+".html"


Do a_create With tiik,"page_news"
=a_maple4_ru_copy(nacal_dire+"\maple4_ru_projects\"+vp_tek_folder+"\temp",.T.,nacal_dire+"\maple4_ru_temp\",tiik)

select (rts)


`