eateAlphabeticalList (createAllCategoryATagArray ($ allCategoryList), 1) ;; profile :
$ basketList=create_cart ($ userInfo);
$ contentHandlist=createAlphabeticalList (createAllCategoryATagArray ($ allCategoryList), 1);
$ recentlyWatchSlider=createHorizontalSlider ( 147x135 raquo ;, $ recentlyWatchList) ;; basket :
$ basketList=create_cart ($ userInfo);
$ contentHandlist=createAlphabeticalList (createAllCategoryATagArray ($ allCategoryList), 1) ;;
}
$ breadCrumb=createBreadCrumb ($ template, $ reqLink, $ currentPosterInfo [ header ], $ type);
$ titlePage=createTitle ($ template, $ reqLink, $ currentPosterInfo [ header ], $ type); ($ action) { logout :
$ user- gt; logout (); («Location:». HOME_PAGE_LINK); exit ;; authorization :
$ user- gt; auth ($ userLogin, $ userPassword); («Location:». HOME_PAGE_LINK); exit ;; register :
$ user- gt; register ($ userLogin, $ userPassword, $ userName, $ userCity, $ userPhone); («Location:». HOME_PAGE_LINK); exit;
break;
case change_data :
$ user- gt; change ($ userInfo [ id ], $ userLogin, $ userPassword, $ userName, $ userCity, $ userPhone); («Location: $ lastURL»); exit ;; add_to_cart : ($ auth, $ reqImageId, $ userInfo); («Location: $ lastURL»); exit ;; send_cart :
$ mTitle= Zakaz postera raquo ;;
$ mAdress= info@artposters.kzraquo ;;
//$ mAdress= developer@illustrate.kzraquo ;;
$ idList=getIdList ($ _REQUEST [ id_poster ]); (! empty ($ delete_action)) {($ idList, $ userInfo);
} {
$ requestMake=makeRequest ($ idList, $ auth, $ userInfo); ($ requestMake [ send_status ]) {
$ mText=$ requestMake [ message ];
$ sendStatus=mailer ($ mAdress, $ mTitle, $ mText); ($ sendStatus) {( complete raquo ;, ); ($ idList, $ userInfo);
} {( error raquo ;, , );
}
}
} ($ auth) {(«Location:». HOME_PAGE_LINK. profile ); exit;
} {(«Location:». HOME_PAGE_LINK. basket ); exit;
};
}
$ profileLink=returnURL ( profile ); (! $ auth) {
$ profileLink=«# » onclick= «showPopupAlert ( login_popup ); return false;" ;
} ($ template == profile amp; amp;! $ auth) {header («Location:». HOME_PAGE_LINK);}
$ authMessage=$ statusMessage- gt; printMessage ( auth );
$ registerMessage=$ statusMessage- gt; printMessage ( register );
$ changeMessage=$ statusMessage- gt; printMessage ( change ); ($ authMessage!=«) {
$ addAction=«showPopupAlert ( login_popup );»;
} ($ registerMessage!=«) {
$ addAction=«showPopupAlert ( register_popup );»;
} ($ changeMessage!=«) {
$ addAction=«showPopupAlert ( change_popup );»;
}
? gt;