Find Jobs
Hire Freelancers

Convert PHP with HTML to Smarty

$2-10 USD / hour

已取消
已发布将近 13 年前

$2-10 USD / hour

Hello, **I am currently building a system and at the moment it is fully functional! but the php files have MIXED PHP and HTML, i need to make changes to all the files and to make my job easier i need you to remove the HTML and put it in TPL files - and ensuring the same functionality remains. You should know how Smarty works, how to assign arrays! I have over 40 files that needs converting, i want to you do ONLY 5 PHP files, i will be getting many coders to do 5 files each so that is it done quicker! Doing the 5 files will not take you any longer then 1 hour. So i am paying up to $10 an hour for your time! You should be fast! and fully capable coder with Smarty. If this takes you longer then 1 hour then you are working slow or doing it wrong! I had to repost this, because people thought that was your required to do all files, you are not you are only doing 5 files that i assign you with, once i accept you. You should know how smarty works, you should know how to assign arrays and display them in TPL files.** Goto here: <[login to view URL]> Just as an example of 1 PHP file. The [login to view URL] (Ignore the header and footer, i have already converted those! The HTML for the Login BOX is in the PHP file. You copy the HTML and paste it into a TPL file and remove it from the php file! Attached, is an example of doing that login page, in Step by Step instructions. Open the PHP file and take out ALL html code and put into a TPL file. The filename must be the same name as the function within the PHP file. TPL's are uploaded to templates/_admin/modules/YOUR FOLDER! It will take you about 10 minutes to convert 1 PHP file. This is fast work, and a easy 10 rating! You will tell me your price for 1 HOUR to convert 5 PHP files that i will assign you with! - Lower you hourly price, the better chance you will win! I need multiple coders! Should take you no more the 1 hour to complete 5 files, and only bid if you know how Smarty works and functions. Thanks ## Deliverables ** ALL FILES AND SCRIPTS ARE FULLY FUNCTIONAL! AND MUST REMAIN THAT WAY!** You Test, You Convert, You Test! Files should be uploaded to the server and sent to me on vworker! Once i have verfied that your done, i will accept your work and rate you! **Step by step:** Open the PHP file. Create a new TPL file, name it the first function you are doing **EXAMPLE: if ($_GET['function'] == "addBlog") { The TPL will be named: [login to view URL] In the PHP file, change the [login to view URL] path to , ../../../[login to view URL] Remove all - [login to view URL] includes Remove all - [login to view URL] includes Remove all - [login to view URL] includes Copy out the HTML and PASTE into the TPL In the top of the TPL paste this: {include file='_admin/[login to view URL]'} In the bottom of the TPL paste this: {include file='_admin/[login to view URL]'} IF the in the HTML there is like... JQuery Funtions, Javascript SRC's, keep them in the TPL --- I WILL REMOVE THEM, since i have assign those else where, and since multiple people will be working on this project, i do not what to risk in you or another over writing each others work. For the SQL selects change them into arrays etc, you should know what do with these as you wouldn't be bidding if you do not know what or how to use smarty.... now would you? Assign the arrays, and deplay the tpl. $smarty->assign("blog_row",$blog_row); $smarty->display("_admin/modules/blog/[login to view URL]"); So you know how my functions are generally named: $_GET['function'] == "addBlog" === NEEDS TPL ([login to view URL]) $_GET['function'] == "addBlogGo" === NEEDS TPL ([login to view URL]) $_GET['function'] == "addBlogDo" === NO TPL addBlog is the landing page, addBlogGo is viewing results, addBlogDo is processing to database. On most pages there is a session message, this is my error reporting. In the attached you will find a php and a tpl that i have done, use the {if isset($[login to view URL])} in the new tpl.
项目 ID: 3404262

关于此项目

远程项目
活跃13 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

UNITED KINGDOM的国旗
Leeds, United Kingdom
5.0
219
付款方式已验证
会员自7月 6, 2006起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。