*.gif, *.jpg, *.jpeg, *.png files."; $m_lang["photo3"]="The image must not exceed 2 Mb."; $m_lang["photo4"]="Thumbnails for *.jpg files will be generated automatically."; $m_lang["preview picture"]="Preview Photo"; $m_lang["or picture url"]="or Picture URL"; $m_lang["preview video"]="Preview Video"; $m_lang["or video url"]="or Video Url"; $m_lang["file1"]="You may upload all format files."; $m_lang["file2"]="The file size must not exceed 2 Gb."; $m_lang["shopping cart"]="Shopping Cart"; $m_lang["member area"]="Member Area"; $m_lang["top rated"]="Top Rated"; $m_lang["home"]="Home"; $m_lang["about"]="About Us"; $m_lang["contacts"]="Contact Us"; $m_lang["tell a friend"]="Tell a Friend"; $m_lang["checkout"]="Checkout"; $m_lang["forgot password"]="Forgot Password"; $m_lang["my profile"]="My Profile"; $m_lang["my favorite list"]="Lightbox"; $m_lang["sign up"]="Sign Up"; $m_lang["empty shopping cart"]="Your Shopping Cart is empty."; $m_lang["logout"]="Logout"; $m_lang["view shopping cart"]="View Shopping Cart"; $m_lang["confirm password"]="Confirm password"; $m_lang["required fields"]="Required fields"; $m_lang["incorrect"]="Incorrect"; $m_lang["please insert"]="Please, insert fields"; $m_lang["not equal"]="Password and confirm password are not identical."; $m_lang["serror1"]="Error: Username is already in use."; $m_lang["serror2"]="Error: Email is already in use."; $m_lang["serror3"]="Your profile has been changed successfully."; $m_lang["send"]="Send"; $m_lang["by e-mail"]="By E-mail"; $m_lang["by phone"]="By Phone"; $m_lang["captcha"]="Captcha"; $m_lang["all rights reserved"]="All rights reserved"; $m_lang["rating"]="Rating"; $m_lang["password protected"]="Password protected"; $m_lang["dimensions"]="Dimensions"; $m_lang["add to favorite list"]="Add to Lightbox"; $m_lang["delete from favorite list"]="Delete from Lightbox"; $m_lang["add to cart"]="Add to Cart"; $m_lang["your name"]="Your Name"; $m_lang["your e-mail"]="Your E-mail"; $m_lang["friend name"]="Friend Name"; $m_lang["friend e-mail"]="Friend E-mail"; $m_lang["sent"]="Thank you. Your message has been sent."; $m_lang["sort by title"]="Sort by Title"; $m_lang["sort by date"]="Sort by Date"; $m_lang["quantity"]="Quantity"; $m_lang["excellent"]="Excellent"; $m_lang["bad"]="Bad"; $m_lang["ferror"]="Error. Unknown e-mail."; $m_lang["customer information"]="Customer Information"; $m_lang["order now"]="Order Now!"; $m_lang["continue checkout"]="To continue checkout process you should sign up and log in."; $m_lang["select payment method"]="Select Payment Method"; $m_lang["error transaction"]="Transaction is unsuccessful. Please, try again"; $m_lang["confirm registration"]="Confirm Registration"; $m_lang["confirmed registartion"]="Thank you! You have confirmed the registration to our site"; $m_lang["unconfirmed registration"]="You haven't confirmed the registration to our site."; $m_lang["confirmation sent"]="Thank you! You've successfully signed up. Please, check your email to confirm the registration."; $m_lang["password sent"]="The password has been sent to your email. Thank you!"; $m_lang["more"]="More"; $m_lang["coupon"]="Coupon"; $m_lang["coupons"]="Coupons"; $m_lang["subtotal"]="Subtotal"; $m_lang["discount"]="Discount"; $m_lang["types of coupons"]="Types of Coupons"; $m_lang["list of current coupons"]="List of Current Coupons"; $m_lang["type of coupons"]="Type of Coupons"; $m_lang["setup date"]="Setup Date"; $m_lang["expiration date"]="Expiration date"; $m_lang["total discount"]="Total Discount"; $m_lang["percentage discount"]="Percentage Discount"; $m_lang["free download link"]="Free Download Link"; $m_lang["used"]="Used"; $m_lang["days till expiration"]="Days till expiration"; $m_lang["events"]="Events"; $m_lang["new signup"]="New Signup"; $m_lang["new order"]="New Order"; $m_lang["administrators"]="Administrators"; $m_lang["payment gateways"]="Payment Gateways"; $m_lang["admin password"]="Admin Password"; $m_lang["site settings"]="Site Settings"; $m_lang["skins"]="Skins"; $m_lang["select skin"]="Select Skin"; $m_lang["limit of usage"]="Limit of Usage"; $m_lang["times usage"]="Times of Usage"; $m_lang["free download"]="Free Download"; $m_lang["yes"]="Yes"; $m_lang["no"]="No"; $m_lang["Site root directory"]="Site Root Directory"; $m_lang["Date format"]="Date format"; $m_lang["Items on the page"]="Items on the page"; $m_lang["Items in the row"]="Items in the row"; $m_lang["Site HTTP URL"]="Site HTTP URL"; $m_lang["Site HTTPS URL"]="Site HTTPS URL"; $m_lang["Lightbox video width"]="Hover view video width"; $m_lang["Lightbox video height"]="Hover view video height"; $m_lang["top navigation"]="Top navigation"; $m_lang["bottom navigation"]="Bottom navigation"; $m_lang["side boxes"]="Side boxes"; $m_lang["side boxe"]="Side boxe"; $m_lang["best seller"]="Best seller"; $m_lang["advertisement"]="Advertisement"; $m_lang["site info"]="Site info"; $m_lang["side"]="Side"; $m_lang["left side"]="Left side"; $m_lang["right side"]="Right side"; $m_lang["messages"]="Messages"; $m_lang["Items in news box"]="Items in news box"; $m_lang["Items in best seller box"]="Items in best seller box"; $m_lang["privacy policy"]="Privacy Policy"; $m_lang["faq"]="FAQ"; $m_lang["alternative password"]="Alternative password"; $m_lang["callback password"]="Callback password"; $m_lang["store number"]="Store number"; $m_lang["merchant id"]="Merchant ID"; $m_lang["product code"]="Product code"; $m_lang["product id"]="Product ID"; $m_lang["encryption key"]="Encryption Key"; $m_lang["mail subject"]="Mail subject"; $m_lang["mail message"]="Mail message"; $m_lang["account"]="Account"; $m_lang["price manager"]="Price manager"; $m_lang["allow users upload"]="Allow users upload"; $m_lang["allow photo types"]="Allow photo types"; $m_lang["allow video types"]="Allow video types"; $m_lang["allow to create category"]="Allow to create category"; $m_lang["allow to upload photo"]="Allow to upload photo"; $m_lang["allow to upload video"]="Allow to upload video"; $m_lang["percentage of sale to site owner"]="Percentage of sale to site owner"; $m_lang["customer categories"]="Seller categories"; $m_lang["my upload"]="My Upload"; $m_lang["my commission"]="My Commission"; $m_lang["create category"]="Create category"; $m_lang["upload photo"]="Upload photo"; $m_lang["upload video"]="Upload video"; $m_lang["my publications"]="My Publications"; $m_lang["select directory"]="Select directory"; $m_lang["upload permitted"]="Upload permitted"; $m_lang["upload denied"]="Upload denied"; $m_lang["not selected"]="Not selected"; $m_lang["example"]="Example"; $m_lang["file for sale"]="File for sale"; $m_lang["first name"]="First Name"; $m_lang["last name"]="Last Name"; $m_lang["city"]="City"; $m_lang["zipcode"]="Zipcode"; $m_lang["user status as default"]="Photographer's status as default"; $m_lang["width"]="Width"; $m_lang["file types"]="File types"; $m_lang["photo sizes"]="Photo sizes"; $m_lang["sizes"]="Sizes"; $m_lang["upload manager"]="User upload manager"; $m_lang["commission manager"]="Commission manager"; $m_lang["commission"]="Commission"; $m_lang["refund"]="Payout"; $m_lang["users earnings"]="Users earnings"; $m_lang["new refund"]="New Payout"; $m_lang["send to"]="Send to"; $m_lang["balance"]="Balance"; $m_lang["earning"]="Earning"; $m_lang["catalog navigation"]="Catalog navigation"; $m_lang["prints"]="Prints"; $m_lang["prints types"]="Prints types"; $m_lang["shipping price"]="Shipping price"; $m_lang["each additional item"]="Each additional item"; $m_lang["downloads"]="Downloads"; $m_lang["ok1"]="Ok. Username is available."; $m_lang["ok2"]="Ok. Email is available."; $m_lang["avatar"]="Avatar"; $m_lang["avatar width"]="Avatar width"; $m_lang["about"]="About"; $m_lang["blog"]="Blog"; $m_lang["reviews"]="Reviews"; $m_lang["testimonials"]="Testimonials"; $m_lang["inbox"]="Inbox"; $m_lang["sentbox"]="Sent"; $m_lang["trash"]="Trash"; $m_lang["comments"]="Comments"; $m_lang["mine"]="Mine"; $m_lang["for me"]="For me"; $m_lang["friends"]="Friends"; $m_lang["new message"]="New message"; $m_lang["cc"]="Cc"; $m_lang["bcc"]="Bcc"; $m_lang["subject"]="Subject"; $m_lang["friend email"]="You may send a message only to your friends."; $m_lang["User photo width"]="User photo width"; $m_lang["reply"]="Reply"; $m_lang["you wrote"]="You wrote"; $m_lang["file details"]="File Details"; $m_lang["tools"]="Tools"; $m_lang["member portfolio"]="Member Portfolio"; $m_lang["sitemail to user"]="Sitemail to User"; $m_lang["buy"]="Buy"; $m_lang["files"]="Files"; $m_lang["new review"]="New Review"; $m_lang["add review"]="Add Review"; $m_lang["error happened"]="Error. Please, try again"; $m_lang["item id"]="Item ID"; $m_lang["show in menu"]="Show in Menu"; $m_lang["maynot blog"]="You may not create a blog."; $m_lang["posts"]="Posts"; $m_lang["new post"]="New Post"; $m_lang["new"]="New"; $m_lang["allow comments"]="Allow comments"; $m_lang["uncategorized"]="Uncategorized"; $m_lang["most popular"]="Most popular"; $m_lang["random"]="Random"; $m_lang["hover view"]="Hover View"; $m_lang["sort by"]="Sort by"; $m_lang["slideshow"]="Slideshow"; $m_lang["first"]="First"; $m_lang["start"]="Start"; $m_lang["stop"]="Stop"; $m_lang["forward"]="Forward"; $m_lang["last"]="Last"; $m_lang["second"]="second"; $m_lang["seconds"]="seconds"; $m_lang["customers status"]="Customers status"; $m_lang["website"]="Website"; $m_lang["add to friends"]="Add to Friends"; $m_lang["add a testimonial"]="Add a Testimonial"; $m_lang["delete from friends"]="Delete from Friends"; $m_lang["portfolio"]="Portfolio"; $m_lang["new testimonial"]="New testimonial"; $m_lang["archives"]="Archives"; $m_lang["posted in"]="Posted in"; $m_lang["add comment"]="Add comment"; $m_lang["new comment"]="New comment"; $m_lang["use iptc info"]="Use IPTC info"; $m_lang["id"]="ID"; $m_lang["qty"]="Qty"; $m_lang["shipping"]="Shipping"; $m_lang["bulk upload"]="Bulk upload"; $m_lang["audio"]="Audio"; $m_lang["small thumb height"]="Maximum small thumb height"; $m_lang["big thumb height"]="Maximum big thumb height"; $m_lang["allow photo"]="Allow photo"; $m_lang["allow video"]="Allow video"; $m_lang["allow audio"]="Allow audio"; $m_lang["menu"]="Menu"; $m_lang["video settings"]="Video settings"; $m_lang["audio settings"]="Audio settings"; $m_lang["clip format"]="Clip Format"; $m_lang["aspect ratio"]="Aspect Ratio"; $m_lang["field rendering"]="Field Rendering"; $m_lang["frames per second"]="Frames per Second"; $m_lang["track source"]="Track Source"; $m_lang["track format"]="Track Format"; $m_lang["duration"]="Duration (min)"; $m_lang["copyright holder"]="Copyright Holder"; $m_lang["upload form"]="Upload Form"; $m_lang["required"]="Required"; $m_lang["terms and conditions"]="Terms and Conditions"; $m_lang["seller"]="Seller"; $m_lang["buyer"]="Buyer"; $m_lang["company"]="Company"; $m_lang["allow audio types"]="Allow audio types"; $m_lang["Upload video limit (Mb)"]="Upload video limit (Mb)"; $m_lang["Upload preview video limit"]="Upload preview video limit"; $m_lang["Upload audio limit (Mb)"]="Upload audio limit (Mb)"; $m_lang["Upload preview audio limit"]="Upload preview audio limit"; $m_lang["allow to upload audio"]="Allow to upload audio"; $m_lang["upload audio"]="Upload audio"; $m_lang["i agree"]="I agree"; $m_lang["allow ipn"]="Instant Payment Notification"; $m_lang["allow video remote storage"]="Allow video remote storage"; $m_lang["allow audio remote storage"]="Allow audio remote storage"; $m_lang["or remote link"]="Or remote link"; $m_lang["remote link"]="Remote link"; $m_lang["file is avaivable"]="Ok. File is available"; $m_lang["unable to open remote file"]="Error. Unable to open remote file"; $m_lang["preview audio"]="Preview audio"; $m_lang["position"]="Position"; $m_lang["sell prints only"]="Sell prints only"; $m_lang["show watermark info"]="Show watermark info"; $m_lang["vector"]="Vector"; $m_lang["allow vector"]="Allow vector"; $m_lang["allow vector remote storage"]="Allow vector remote storage"; $m_lang["allow vector types"]="Allow vector types"; $m_lang["vector preupload folder"]="Vector preupload folder"; $m_lang["credits"]="Credits"; $m_lang["credits types"]="Credits types"; $m_lang["download limit"]="Download limit"; $m_lang["days till download expiration"]="Days till download expiration"; $m_lang["download links"]="Download links"; $m_lang["allow to upload vector"]="Allow to upload vector"; $m_lang["upload vector"]="Upload vector"; $m_lang["advanced search"]="Advanced search"; $m_lang["upload vector limit (Mb)"]="Upload vector limit (Mb)"; $m_lang["download sample"]="Download sample"; $m_lang["check or money order"]="Check or Money Order"; $m_lang["buy credits"]="Buy Credits"; $m_lang["expired"]="Expired"; $m_lang["content type"]="Content types"; $m_lang["subscription"]="Subscription"; $m_lang["subscription type"]="Subscription types"; $m_lang["bandwidth"]="Bandwidth"; $m_lang["related items"]="Related items"; $m_lang["related items quantity"]="Related items quantity"; $m_lang["tag clouds"]="Tag clouds"; $m_lang["download"]="Download"; $m_lang["content type as default"]="Content type as default"; $m_lang["bonus"]="Bonus"; $m_lang["zoomer"]="Zoomer"; $m_lang["license"]="License"; $m_lang["user uploads premoderation"]="Uploads premoderation"; $m_lang["enabled"]="Enabled"; $m_lang["disabled"]="Disabled"; $m_lang["notifications"]="Notifications"; $m_lang["print version"]="Print version"; $m_lang["upgrade"]="Upgrade"; $m_lang["The item has been added to the cart"]="The item has been added to the cart"; $m_lang["ads"]="Ads"; $m_lang["components"]="Components"; $m_lang["home page"]="Home page"; $m_lang["player"]="Player"; $m_lang["most downloaded"]="Most downloaded"; $m_lang["columns"]="Columns"; $m_lang["rows"]="Rows"; $m_lang["who are you"]="Who are you"; $m_lang["continue"]="Continue"; $m_lang["newsletter"]="Newsletter"; $m_lang["types"]="types"; $m_lang["landscape"]="Landscape"; $m_lang["portrait"]="Portrait"; $m_lang["all"]="All"; $m_lang["prints for users"]="Prints for users"; $m_lang["test"]="Test"; $m_lang["overview"]="Overview"; $m_lang["path"]="Path"; $m_lang["generate video preview from"]="Generate video preview from"; $m_lang["day"]="Day"; $m_lang["week"]="Week"; $m_lang["month"]="Month"; $m_lang["year"]="Year"; $m_lang["rates depend on"]="Rates depend on"; $m_lang["price includes tax"]="Price includes tax"; $m_lang["rates"]="Rates"; $m_lang["synchronize"]="Synchronize"; $m_lang["shipped"]="Shipped"; $m_lang["not shipped"]="Not Shipped"; $m_lang["digital"]="Digital"; $m_lang["separated home page"]="Separated home page"; $m_lang["add new template"]="Add new template"; $m_lang["billing address"]="Billing Address"; $m_lang["shipping address"]="Shipping Address"; $m_lang["taxes"]="Taxes"; $m_lang["cancel"]="Cancel"; $m_lang["included"]="Included"; $m_lang["model property release"]="Model property release"; $m_lang["search history"]="Search History"; $m_lang["query"]="Query"; $m_lang["new publication"]="New publication"; $m_lang["upload several photos"]="Upload several photos"; $m_lang["zip archive file of *.jpg photos"]="Zip archive file of *.jpg photos"; $m_lang["Error. The file has 0 bite size"]="Error. The file has 0 bite size"; $m_lang["Error. The file has incorrect extention"]="Error. The file has incorrect extention"; $m_lang["Error. You have no permission to upload to the directory"]="Error. You have no permission to upload to the directory"; $m_lang["Error. You have no permission to upload the file"]="Error. You have no permission to upload the file"; $m_lang["Error. The archive doesn't contain files"]="Error. The archive doesn't contain files"; $m_lang["declined"]="Declined"; $m_lang["models"]="Models"; $m_lang["seller examination"]="Seller Examination"; $m_lang["take an examination"]="Take an Examination"; $m_lang["examination"]="Examination"; $m_lang["flash version"]="Flash version"; $m_lang["flash script version"]="Flash script version"; $m_lang["become a buyer"]="Become a buyer"; $m_lang["become a seller"]="Become a seller"; $m_lang["seller agreement"]="Seller Agreement"; $m_lang["buyer agreement"]="Buyer Agreement"; $m_lang["passport"]="Passport"; $m_lang["the seller may not buy items"]="The seller/affiliate may not buy items"; $m_lang["caching"]="Caching"; $m_lang["refresh"]="Refresh"; $m_lang["refresh now"]="Refresh now"; $m_lang["refresh every x hours"]="Refresh every X hours"; $m_lang["refresh all files"]="Refresh all files"; $m_lang["next"]="Next"; $m_lang["previous"]="Previous"; $m_lang["free"]="Free"; $m_lang["next step"]="Next step"; $m_lang["file storage"]="File storage"; $m_lang["prices"]="Prices"; $m_lang["in your cart"]="In your cart"; $m_lang["height"]="Height"; $m_lang["original size"]="Original size"; $m_lang["select all"]="Select All"; $m_lang["deselect all"]="Deselect All"; $m_lang["show model property release"]="Show model property release on front end"; $m_lang["share this"]="Share this"; $m_lang["all files"]="All files"; $m_lang["or"]="or"; $m_lang["select action"]="Select action"; $m_lang["delete selected"]="Delete selected"; $m_lang["regenerate thumbs"]="Regenerate Thumbs"; $m_lang["change content type"]="Change Content type"; $m_lang["set prints"]="Set Prints"; $m_lang["set prices"]="Set Prices"; $m_lang["save"]="Save"; $m_lang["add category"]="Add category"; $m_lang["affiliate"]="Affiliate"; $m_lang["affiliates"]="Affiliates"; $m_lang["back to results"]="Back to results"; $m_lang["Show on Google map"]="Show on Google map"; $m_lang["Google map"]="Google map"; $m_lang["Show EXIF info"]="Show EXIF info"; $m_lang["move to category"]="Move to category"; $m_lang["add new price"]="Add New Price"; $m_lang["reupload"]="Reupload"; $m_lang["reason for rejection"]="Reason for Rejection"; $m_lang["authorization"]="Authorization"; $m_lang["social networks"]="Social Networks"; $m_lang["login without signup"]="Login without Signup"; $m_lang["become an affiliate"]="Become an affiliate"; $m_lang["affiliate agreement"]="Affiliate agreement"; $m_lang["visits"]="Visits"; $m_lang["local server"]="Local server"; $m_lang["pay now"]="Pay Now"; $m_lang["credit card"]="Credit card"; $m_lang["subscription only"]="Subscription only"; $m_lang["common"]="Common"; $m_lang["Common account for buyers,sellers and affiliates"]="Common account for buyers,sellers and affiliates"; $m_lang["restore link"]="Restore the link"; $m_lang["never"]="Never"; $m_lang["code"]="Code"; $m_lang["promotion"]="Promotion"; $m_lang["java photo uploader"]="Java Photo Uploader"; $m_lang["flash photo uploader"]="Flash Photo Uploader"; $m_lang["place order"]="Place order"; $m_lang["buy subscription"]="Buy Subscription"; $m_lang["purchase statement"]="Purchase Statement"; $m_lang["billing information"]="Billing Information"; $m_lang["shipping information"]="Shipping Information"; $m_lang["payment information"]="Payment Information"; $m_lang["order information"]="Order Information"; $m_lang["ftp photo uploader"]="FTP photo uploader"; $m_lang["ftp video uploader"]="FTP video uploader"; $m_lang["ftp audio uploader"]="FTP audio uploader"; $m_lang["ftp vector uploader"]="FTP vector uploader"; $m_lang["icons view"]="Icons View"; $m_lang["tree view"]="Tree View"; $m_lang["common information"]="Common Information"; $m_lang["contacts information"]="Contacts Information"; $m_lang["customer information"]="Customer Information"; $m_lang["state"]="State/Province"; $m_lang["sales"]="Sales"; $m_lang["my downloads"]="My Downloads"; ?> /*********************************************** * Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/
"; $itg=""; if (!$smarty->is_cached('buildmenu6.tpl',"buildmenu|6")) { $nlimit=0; buildmenu6(5); } $smarty->cache_lifetime = -1; $smarty->assign('buildmenu6', $itg); $itg=$smarty->fetch('buildmenu6.tpl',"buildmenu|6"); $box_categories.=$itg."
"; } else { $box_categories.=" "; } $hmenu="
"; $hmenu.=""; $hmenu.="
"; $file_template=str_replace("{HORIZONTAL_MENU}",$hmenu,$file_template); $boxes_left=str_replace("{BOX_CATEGORIES}",$box_categories,$boxes_left); $boxes_right=str_replace("{BOX_CATEGORIES}",$box_categories,$boxes_right); ?>".$box_shopping_cart."",$boxes_left); $boxes_right=str_replace("{BOX_SHOPPING_CART}","
".$box_shopping_cart."
",$boxes_right); $file_template=str_replace("{BOX_SHOPPING_CART}","
".$box_shopping_cart."
",$file_template); $boxes_left=str_replace("{BOX_SHOPPING_CART_LITE}","
".$box_shopping_cart_lite."
",$boxes_left); $boxes_right=str_replace("{BOX_SHOPPING_CART_LITE}","
".$box_shopping_cart_lite."
",$boxes_right); $file_template=str_replace("{BOX_SHOPPING_CART_LITE}","
".$box_shopping_cart_lite."
",$file_template); } else { $boxes_left=str_replace("{BOX_SHOPPING_CART}","
",$boxes_left); $boxes_right=str_replace("{BOX_SHOPPING_CART}","
",$boxes_right); $file_template=str_replace("{BOX_SHOPPING_CART}","
",$file_template); $boxes_left=str_replace("{BOX_SHOPPING_CART_LITE}","
",$boxes_left); $boxes_right=str_replace("{BOX_SHOPPING_CART_LITE}","
",$boxes_right); $file_template=str_replace("{BOX_SHOPPING_CART_LITE}","
",$file_template); } ?>open($sql); while(!$ds->eof) { $commission_balance+=$ds->row["total"]; $ds->movenext(); } $sql="select * from payout_price"; $ds->open($sql); if(!$ds->eof) { $commission_balance=$ds->row["price"]*$commission_balance; } $boxcontent=str_replace("{BALANCE}",currency(1,false).strval(float_opt($commission_balance,2))." ".currency(2,false),$boxcontent); $boxcontent=str_replace("{WORD_BALANCE}",word_lang("commission"),$boxcontent); $boxcontent=str_replace("profile.php","upload.php",$boxcontent); } if($_SESSION["people_type"]=="affiliate") { $commission_balance=0; $sql="select total from affiliates_signups where aff_referal=".(int)$_SESSION["people_id"]; $ds->open($sql); while(!$ds->eof) { $commission_balance+=$ds->row["total"]; $ds->movenext(); } $sql="select * from payout_price"; $ds->open($sql); if(!$ds->eof) { $commission_balance=$ds->row["price"]*$commission_balance; } $boxcontent=str_replace("{BALANCE}",currency(1,false).strval(float_opt($commission_balance,2))." ".currency(2,false),$boxcontent); $boxcontent=str_replace("{WORD_BALANCE}",word_lang("commission"),$boxcontent); $boxcontent=str_replace("profile.php","affiliate.php",$boxcontent); } if($_SESSION["people_type"]=="common") { $boxcontent=str_replace("profile.php","orders.php",$boxcontent); } $boxcontent=str_replace("{WORD_PROFILE}",word_lang("my profile"),$boxcontent); $boxcontent=str_replace("{WORD_LOGOUT}",word_lang("logout")." [".$_SESSION["people_login"]."]",$boxcontent); $box_members=$boxcontent; } $file_template=str_replace("{BOX_MEMBERS}",$box_members,$file_template); $boxes_left=str_replace("{BOX_MEMBERS}",$box_members,$boxes_left); $boxes_right=str_replace("{BOX_MEMBERS}",$box_members,$boxes_right); ?> $value) { $sformat+=$value; } if($sformat==0) { foreach ($search_types as $key => $value) { $search_types[$key] = 1; } } $xx=0; foreach ($search_types as $key => $value) { if($value==1) { $box_search=str_replace("{".strtoupper($key)."_CHECKED}","checked",$box_search); $xx++; } else { $box_search=str_replace("{".strtoupper($key)."_CHECKED}","",$box_search); } } if($xx==0) { $xx=$xsearch; } if($xx==$xsearch) { $box_search=str_replace("{WORD_ALL}",word_lang("All files"),$box_search); } else { $box_search=str_replace("{WORD_ALL}",word_lang("files").": ".$xx,$box_search); } $box_search=str_replace("{WORD_TYPES}",word_lang("files"),$box_search); $file_template=str_replace("{BOX_SEARCH}",$box_search,$file_template); $boxes_left=str_replace("{BOX_SEARCH}",$box_search,$boxes_left); $boxes_right=str_replace("{BOX_SEARCH}",$box_search,$boxes_right); ?>is_cached('info.tpl',$smarty_info_id)) { $boxcontent=file_get_contents($DOCUMENT_ROOT."/".$site_template_url."box_site_info.tpl"); if($site_photo) { $box_site_info.=str_replace("{SITE_INFO_URL}",site_root."/index.php?sphoto=1",str_replace("{SITE_INFO_TITLE}",word_lang("photos"),$boxcontent)); } if($site_video) { $box_site_info.=str_replace("{SITE_INFO_URL}",site_root."/index.php?svideo=1",str_replace("{SITE_INFO_TITLE}",word_lang("videos"),$boxcontent)); } if($site_audio) { $box_site_info.=str_replace("{SITE_INFO_URL}",site_root."/index.php?saudio=1",str_replace("{SITE_INFO_TITLE}",word_lang("audio"),$boxcontent)); } if($site_vector) { $box_site_info.=str_replace("{SITE_INFO_URL}",site_root."/index.php?svector=1",str_replace("{SITE_INFO_TITLE}",word_lang("vector"),$boxcontent)); } $box_site_info.=str_replace("{SITE_INFO_URL}",site_root."/members/categories.php",str_replace("{SITE_INFO_TITLE}",word_lang("Categories"),$boxcontent)); $box_site_info.=str_replace("{SITE_INFO_URL}",site_root."/members/users_list.php",str_replace("{SITE_INFO_TITLE}",word_lang("photographers"),$boxcontent)); //$box_site_info.="
 
"; if($site_credits and (!isset($_SESSION["people_type"]) or (isset($_SESSION["people_type"]) and $_SESSION["people_type"]=="buyer"))) { $box_site_info.=str_replace("{SITE_INFO_URL}",site_root."/members/credits.php",str_replace("{SITE_INFO_TITLE}",word_lang("buy credits"),$boxcontent)); } if($site_subscription and $site_credits and (!isset($_SESSION["people_type"]) or (isset($_SESSION["people_type"]) and $_SESSION["people_type"]=="buyer"))) { $box_site_info.=str_replace("{SITE_INFO_URL}",site_root."/members/subscription.php",str_replace("{SITE_INFO_TITLE}",word_lang("subscription"),$boxcontent)); } //$box_site_info.="
 
"; /*$sql="select a.id,a.id_parent,b.id_parent,b.title,b.content,b.priority,b.link,b.url from structure a,pages b where a.id=b.id_parent and a.id_parent=4034 order by b.priority"; $rs->open($sql); while(!$rs->eof) { $url=page_url($rs->row["id"],$rs->row["url"]); if($rs->row["link"]!=""){$url=$rs->row["link"];} $box_site_info.=str_replace("{SITE_INFO_URL}",$url,str_replace("{SITE_INFO_TITLE}",$rs->row["title"],$boxcontent)); $rs->movenext(); }*/ } $smarty->cache_lifetime = -1; $smarty->assign("info",$box_site_info); $box_site_info=$smarty->fetch('info.tpl',$smarty_info_id); $file_template=str_replace("{BOX_SITE_INFO}",$box_site_info,$file_template); $boxes_left=str_replace("{BOX_SITE_INFO}",$box_site_info,$boxes_left); $boxes_right=str_replace("{BOX_SITE_INFO}",$box_site_info,$boxes_right); ?>is_cached('news.tpl',$smarty_news_id)) { $boxcontent=file_get_contents($DOCUMENT_ROOT."/".$site_template_url."box_news.tpl"); $sql="select * from news order by data desc limit ".qnews; $rs->open($sql); while(!$rs->eof) { $box_news.=str_replace("{NEWS_ANNOUNCE}",$rs->row['announce'],str_replace("{NEWS_DATE}",date(date_short,$rs->row['data']),str_replace("{NEWS_URL}","{SITE_ROOT}news/".$rs->row['id_parent']."/",str_replace("{NEWS_TITLE}",$rs->row["title"],$boxcontent)))); $rs->movenext(); } } $smarty->cache_lifetime = -1; $smarty->assign("news", $box_news); $box_news=$smarty->fetch('news.tpl',$smarty_news_id); $boxes_left=str_replace("{BOX_NEWS}",$box_news,$boxes_left); $boxes_right=str_replace("{BOX_NEWS}",$box_news,$boxes_right); $file_template=str_replace("{BOX_NEWS}",$box_news,$file_template); ?>is_cached('photographers.tpl',"photographers".$site_template_id)) { $boxcontent=file_get_contents($DOCUMENT_ROOT."/".$site_template_url."box_photographers.tpl"); //Define featured categories $catlist=""; $sql="select name,menu from user_category where menu=1"; $rs->open($sql); while(!$rs->eof) { if($catlist!=""){$catlist.=" or ";} $catlist.=" category='".$rs->row["name"]."' "; $rs->movenext(); } //List of featured photographers $sql="select id_parent,login,name,lastname,category from users where ".$catlist." and utype='seller' order by name"; $rs->open($sql); while(!$rs->eof) { $url=site_root."/users/".$rs->row["id_parent"].".html"; $qty=0; $sql="select id_parent from photos where userid=".$rs->row["id_parent"]." or author='".$rs->row["login"]."'"; $ds->open($sql); $qty+=$ds->rc; $sql="select id_parent from videos where userid=".$rs->row["id_parent"]." or author='".$rs->row["login"]."'"; $ds->open($sql); $qty+=$ds->rc; $sql="select id_parent from audio where userid=".$rs->row["id_parent"]." or author='".$rs->row["login"]."'"; $ds->open($sql); $qty+=$ds->rc; $sql="select id_parent from vector where userid=".$rs->row["id_parent"]." or author='".$rs->row["login"]."'"; $ds->open($sql); $qty+=$ds->rc; $box_photographers.=str_replace("{ITEM_QUANTITY}",strval($qty),str_replace("{ITEM_URL}",$url,str_replace("{ITEM_TITLE}",$rs->row["name"]." ".$rs->row["lastname"],$boxcontent))); $rs->movenext(); } } $smarty->cache_lifetime = 3600; $smarty->assign("photographers",$box_photographers); $box_photographers=$smarty->fetch('photographers.tpl',"photographers".$site_template_id); $file_template=str_replace("{BOX_PHOTOGRAPHERS}",$box_photographers,$file_template); $boxes_left=str_replace("{BOX_PHOTOGRAPHERS}",$box_photographers,$boxes_left); $boxes_right=str_replace("{BOX_PHOTOGRAPHERS}",$box_photographers,$boxes_right); ?>is_cached('stat.tpl',$stat_id)) { $boxcontent=file_get_contents($DOCUMENT_ROOT."/".$site_template_url."box_stat.tpl"); $sql="select count(login) as count_login from users where accessdenied=0"; $rs->open($sql); if(!$rs->eof) { $boxcontent=str_replace("{USERS}",$rs->row["count_login"],$boxcontent); } $vt=0; if($site_photo) { $sql="select count(id_parent) as count_photos,sum(viewed) as count_viewed from photos where published=1"; $rs->open($sql); if(!$rs->eof) { $boxcontent=str_replace("{PHOTOS}",$rs->row["count_photos"],$boxcontent); $vt+=$rs->row["count_viewed"]; } else { $boxcontent=str_replace("{PHOTOS}","0",$boxcontent); } } if($site_video) { $sql="select count(id_parent) as count_videos,sum(viewed) as count_viewed from videos where published=1"; $rs->open($sql); if(!$rs->eof) { $boxcontent=str_replace("{VIDEOS}",$rs->row["count_videos"],$boxcontent); $vt+=$rs->row["count_viewed"]; } else { $boxcontent=str_replace("{VIDEOS}","0",$boxcontent); } } if($site_audio) { $sql="select count(id_parent) as count_videos,sum(viewed) as count_viewed from audio where published=1"; $rs->open($sql); if(!$rs->eof) { $boxcontent=str_replace("{AUDIO}",$rs->row["count_videos"],$boxcontent); $vt+=$rs->row["count_viewed"]; } else { $boxcontent=str_replace("{AUDIO}","0",$boxcontent); } } if($site_vector) { $sql="select count(id_parent) as count_videos,sum(viewed) as count_viewed from vector where published=1"; $rs->open($sql); if(!$rs->eof) { $boxcontent=str_replace("{VECTOR}",$rs->row["count_videos"],$boxcontent); $vt+=$rs->row["count_viewed"]; } else { $boxcontent=str_replace("{VECTOR}","0",$boxcontent); } } $boxcontent=str_replace("{VD}",strval($vt),$boxcontent); $aphoto = array(); preg_match_all('|\{if sitephoto\}(.*)\{/if\}|Uis', $boxcontent, $aphoto); if($site_photo==true and isset($aphoto[1][0]) and isset($aphoto[0][0])) { $boxcontent=preg_replace('|\{if sitephoto\}(.*)\{/if\}|Uis',$aphoto[1][0],$boxcontent); } else { $boxcontent=preg_replace('|\{if sitephoto\}(.*)\{/if\}|Uis',"",$boxcontent); } $avideo = array(); preg_match_all('|\{if sitevideo\}(.*)\{/if\}|Uis', $boxcontent, $avideo); if($site_video==true and isset($avideo[1][0]) and isset($avideo[0][0])) { $boxcontent=preg_replace('|\{if sitevideo\}(.*)\{/if\}|Uis',$avideo[1][0],$boxcontent); } else { $boxcontent=preg_replace('|\{if sitevideo\}(.*)\{/if\}|Uis',"",$boxcontent); } $aaudio = array(); preg_match_all('|\{if siteaudio\}(.*)\{/if\}|Uis', $boxcontent, $aaudio); if($site_audio==true and isset($aaudio[1][0]) and isset($aaudio[0][0])) { $boxcontent=preg_replace('|\{if siteaudio\}(.*)\{/if\}|Uis',$aaudio[1][0],$boxcontent); } else { $boxcontent=preg_replace('|\{if siteaudio\}(.*)\{/if\}|Uis',"",$boxcontent); } $avector = array(); preg_match_all('|\{if sitevector\}(.*)\{/if\}|Uis', $boxcontent, $avector); if($site_vector==true and isset($avector[1][0]) and isset($avector[0][0])) { $boxcontent=preg_replace('|\{if sitevector\}(.*)\{/if\}|Uis',$avector[1][0],$boxcontent); } else { $boxcontent=preg_replace('|\{if sitevector\}(.*)\{/if\}|Uis',"",$boxcontent); } $boxcontent=str_replace("{WORD_USERS}",word_lang("users"),$boxcontent); $boxcontent=str_replace("{WORD_PHOTOS}",word_lang("photos"),$boxcontent); $boxcontent=str_replace("{WORD_VIDEOS}",word_lang("videos"),$boxcontent); $boxcontent=str_replace("{WORD_AUDIO}",word_lang("audio"),$boxcontent); $boxcontent=str_replace("{WORD_VECTOR}",word_lang("vector"),$boxcontent); $boxcontent=str_replace("{WORD_VIEWED}",word_lang("viewed"),$boxcontent); $box_stat=$boxcontent; } $smarty->cache_lifetime = 3600; $smarty->assign("stat",$box_stat); $box_stat=$smarty->fetch('stat.tpl',$stat_id); $file_template=str_replace("{BOX_STAT}",$box_stat,$file_template); $boxes_left=str_replace("{BOX_STAT}",$box_stat,$boxes_left); $boxes_right=str_replace("{BOX_STAT}",$box_stat,$boxes_right); ?>function lopen(){document.getElementById('languages_lite').style.display='none';document.getElementById('languages_lite2').style.display='inline';}function lclose(){document.getElementById('languages_lite').style.display='inline';document.getElementById('languages_lite2').style.display='none';}
".$lang_name[$lng]." 
"; $file_template=str_replace("{LANGUAGES}",$box_languages,$file_template); $file_template=str_replace("{LANGUAGES_LITE}",$box_languages_lite,$file_template); ?>is_cached('tags.tpl',"tags")) { $tg=array(); $sql="select keywords from photos where published=1 order by rand() limit 3"; $rs->open($sql); while(!$rs->eof) { $tgg=explode(",",str_replace(";",",",$rs->row["keywords"])); for($i=0;$imovenext(); } $sql="select keywords from videos where published=1 order by rand() limit 3"; $rs->open($sql); while(!$rs->eof) { $tgg=explode(",",str_replace(";",",",$rs->row["keywords"])); for($i=0;$imovenext(); } $sql="select keywords from audio where published=1 order by rand() limit 3"; $rs->open($sql); while(!$rs->eof) { $tgg=explode(",",str_replace(";",",",$rs->row["keywords"])); for($i=0;$imovenext(); } $sql="select keywords from vector where published=1 order by rand() limit 3"; $rs->open($sql); while(!$rs->eof) { $tgg=explode(",",str_replace(";",",",$rs->row["keywords"])); for($i=0;$imovenext(); } for($j=0;$j".$tg[$j]." "; } } $smarty->cache_lifetime = 3600; $smarty->assign("tags",$box_tag_clouds); $box_tag_clouds=$smarty->fetch('tags.tpl',"tags"); $file_template=str_replace("{BOX_TAG_CLOUDS}",$box_tag_clouds,$file_template); $boxes_left=str_replace("{BOX_TAG_CLOUDS}",$box_tag_clouds,$boxes_left); $boxes_right=str_replace("{BOX_TAG_CLOUDS}",$box_tag_clouds,$boxes_right); ?>is_cached('topmenu.tpl',$topmenu_id)) { $button=file_get_contents($DOCUMENT_ROOT."/".$site_template_url."topmenu.tpl"); $button2=file_get_contents($DOCUMENT_ROOT."/".$site_template_url."topmenu2.tpl"); $separator=file_get_contents($DOCUMENT_ROOT."/".$site_template_url."topmenu_separator.tpl"); $topmenu.="
".$button."
"; $sql="select a.id,a.id_parent,b.id_parent,b.title,b.url,b.priority from structure a, navigation b where a.id=b.id_parent and a.id_parent=4012 order by b.priority"; $rs->open($sql); while(!$rs->eof) { $topmenu.="
".$separator."
".str_replace("{ITEM_TITLE}",word_lang($rs->row["title"]),str_replace("{ITEM_URL}",$rs->row["url"],$button2))."
"; $rs->movenext(); } } $smarty->cache_lifetime = -1; $smarty->assign("topmenu", $topmenu); $topmenu=$smarty->fetch('topmenu.tpl',$topmenu_id); $file_template=str_replace("{TOPMENU}",$topmenu,$file_template); ?>is_cached('bottommenu.tpl',$bottommenu_id)) { $button=file_get_contents($DOCUMENT_ROOT."/".$site_template_url."bottommenu.tpl"); $bottommenu.=str_replace("{ITEM_TITLE}","{WORD_HOME}",str_replace("{ITEM_URL}","{SITE_ROOT}",$button)); $sql="select a.id,a.id_parent,b.id_parent,b.title,b.url,b.priority from structure a, navigation b where a.id=b.id_parent and a.id_parent=4013 order by b.priority"; $rs->open($sql); while(!$rs->eof) { $bottommenu.=" • ".str_replace("{ITEM_TITLE}",word_lang($rs->row["title"]),str_replace("{ITEM_URL}",$rs->row["url"],$button)); $rs->movenext(); } $bottommenu.=""; } $smarty->cache_lifetime = -1; $smarty->assign("bottommenu", $bottommenu); $bottommenu=$smarty->fetch('bottommenu.tpl',$bottommenu_id); $file_template=str_replace("{BOTTOM_MENU}",$bottommenu,$file_template); ?> Baseball Video Loop - Video Background Loops - Partners In Rhyme Free Video Backgrounds
Video
{BOX_CATEGORIES}
Shopping Cart
{BOX_SHOPPING_CART}
execute($sql); $_SESSION["search_query"]=result($search); } } $items=k_str; if(isset($_GET["items"])) { $items=(int)$_GET["items"]; } //$items=2; // $kolvo=$items; // $kolvo2=k_str2; ?> is_cached('home.tpl',cache_id('home')) or $site_cache_home<0) { $homepage=file_get_contents($DOCUMENT_ROOT."/".$site_template_url."home.tpl"); include("$DOCUMENT_ROOT/members/homepage.php"); } if($site_cache_home>=0) { if($site_cache_home>0) { $smarty->cache_lifetime = $site_cache_home*3600; } $smarty->assign('home', $homepage); $homepage=$smarty->fetch('home.tpl',cache_id('home')); } echo("".translate_text($homepage)); } else { if(!check_password(0,$id_parent,0)) { $boxcontent=file_get_contents($DOCUMENT_ROOT."/".$site_template_url."item_protected.tpl"); $boxcontent=str_replace("{WORD_PROTECTED}",word_lang("password protected"),$boxcontent); $boxcontent=str_replace("{ID_PARENT}",$id_parent,$boxcontent); $boxcontent=str_replace("{SITE_ROOT}",site_root."/",$boxcontent); $boxcontent=str_replace("{TEMPLATE_ROOT}",site_root."/".$site_template_url,$boxcontent); echo($boxcontent); $boxcontent=""; } else { if($module_table==30 or $module_table==31 or $module_table==52 or $module_table==53) { ?> is_cached('footer.tpl',cache_id('footer')) or $site_cache_footer<0) { $file_template=file_get_contents($DOCUMENT_ROOT."/".$site_template_url."footer.tpl"); if($site=="profile_about" or $site=="profile" or $site=="orders" or $site=="credits" or $site=="subscription" or $site=="upload" or $site=="filemanager" or $site=="publications" or $site=="models" or $site=="commission" or $site=="friends" or $site=="messages" or $site=="blog" or $site=="reviews" or $site=="testimonials" or $site=="affiliate") { $file_template=str_replace("{BOX_RIGHT}","",$file_template); $file_template=str_replace("{RIGHT_WIDTH}","1",$file_template); } else { //Right box $file_template=str_replace("{BOX_RIGHT}",$boxes_right,$file_template); //Right width $file_template=str_replace("{RIGHT_WIDTH}",right_width,$file_template); } //Bottom menu include("bottom_menu.php"); //Words $file_template=str_replace("{WORD_CATEGORIES}",word_lang("categories"),$file_template); $file_template=str_replace("{WORD_SHOPPING_CART}",word_lang("shopping cart"),$file_template); $file_template=str_replace("{WORD_MEMBER_AREA}",word_lang("member area"),$file_template); $file_template=str_replace("{WORD_TOP_RATED}",word_lang("top rated"),$file_template); $file_template=str_replace("{WORD_NEWS}",word_lang("news"),$file_template); $file_template=str_replace("{WORD_HOME}",word_lang("home"),$file_template); $file_template=str_replace("{WORD_ABOUT}",word_lang("about"),$file_template); $file_template=str_replace("{WORD_SUPPORT}",word_lang("support"),$file_template); $file_template=str_replace("{WORD_CONTACTS}",word_lang("contacts"),$file_template); $file_template=str_replace("{WORD_SEARCH}",word_lang("search"),$file_template); //Site name $file_template=str_replace("{SITE_NAME}",$site_name,$file_template); //Site root $file_template=str_replace("{SITE_ROOT}",site_root."/",$file_template); $file_template=str_replace("{WORD_RESERVED}",word_lang("all rights reserved"),$file_template); //Template root $file_template=str_replace("{TEMPLATE_ROOT}",site_root."/".$site_template_url,$file_template); //End Footer template } if($site_cache_footer>=0) { if($site_cache_footer>0) { $smarty->cache_lifetime = $site_cache_footer*3600; } $smarty->assign('footer', $file_template); $file_template=$smarty->fetch('footer.tpl',cache_id('footer')); } echo($file_template); ?>