align="justify"> $ bestSalePosterSlider=createHorizontalSlider ( 165x150 raquo ;, $ bestSalePosterList);
/* handlist */
$ mainHandlist=createAlphabeticalList (createAllCategoryATagArray ($ allCategoryList),
) ;; poster :
$ posterHandlist=createAlphabeticalList (createAllCategoryATagArray ($ allCategoryList),
);
$ catInfo=getCurrentCategoryInfo ($ reqLink);
$ allPosterInCatArray=getAllPosterInCat ($ catInfo [ id ], $ catInfo [ link ]);
$ currentPosterInfo=getCurrentPosterInfo ($ reqId, $ allPosterInCatArray, $ catInfo [ link ]); _ recently_watch ($ currentPosterInfo [ id ]);
$ currentPosterSize=getCurrentPosterSize ($ currentPosterInfo [ id ], $ currentPosterInfo [ link ]);
$ currentPosterSizeI=getCurrentSizeI ($ currentPosterSize, $ reqImageId);
$ currentImage=createCurrentPosterImage ($ currentPosterSize [$ currentPosterSizeI] [ big_image ], $ currentPosterSize [$ currentPosterSizeI] [ image ]);
$ posterSizeBlock=createSizeChage ($ currentPosterSize, $ currentPosterSizeI);
/* sliders */
$ recentlyWatchSlider=createHorizontalSlider ( 140x110 raquo ;, $ recentlyWatchList);
$ allPosterInCatSlider=createHorizontalSlider ( 209x198 raquo ;, $ allPosterInCatArray, raquo ;, poster raquo ;, $ currentPosterInfo [ id ]) ;; content :
$ contentHandlist=createAlphabeticalList (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: raquo ;. HOME_PAGE_LINK); exit ;; authorization :
$ user- gt; auth ($ userLogin, $ userPassword); ( Location: raquo ;. HOME_PAGE_LINK); exit ;; register :
$ user- gt; register ($ userLogin, $ userPassword, $ userName, $ userCity, $ userPhone); ( Location: raquo ;. HOME_PAGE_LINK); exit;
; 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. kz raquo ;;
//$ mAdress= developer @ illustrate. kz raquo ;;
$ 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: raquo ;. HOME_PAGE_LINK. profile ); exit;
} {( Location: raquo ;. HOME_PAGE_LINK. basket ); exit;
};
}
$ profileLink=returnURL ( profile ); (! $ auth) {
$ profileLink= # " onclick=" showPopupAlert ( login_popup ); return false; raquo ;;
} ($ template == profile amp; amp ;! $ auth) {header ( Location: raquo ;. HOME_PAGE_LINK); }
$ authMessage=$ statusMessage- gt; printMessage ( auth );
$ registerMessage=$ statusMessage- gt; printMessage ( register );
$ changeMessage=$ statusMessage- gt; printMessage ( change ); ($ authMessage!= ) {
$ addAction= showPopupAlert ( login_popup ); raquo ;;
} ($ registerMessage!= ) {<...