Convert Smarty Template (.tpl) to PHP
$10-100 USD
货到付款
Hello guys,
I need an experienced developer (should be an easy job for an intermediate PHP developer) to convert a Smarty .tpl file with lots of IF, ELSE and FOREACH into a PHP one. I could do it myself, due to the lack of time, I'd rather give it to one of you and also leave you a good feedback on this site.
For example, the following code in Smarty:
{foreach from=$afp_form_fields key=afp_key item=afp_value}
{if $afp_value.chosen_active eq 1 && $afp_value.chosen_init_code neq ''}
{$afp_value.chosen_init_code}
{/if}
{/foreach}
SHOULD be in PHP:
foreach ($data['afp_form_fields'] as $afp_key => $afp_value) {
if ($afp_value['chosen_active'] == 1 && $afp_value['chosen_init_code'] != '') {
echo $afp_value['chosen_init_code'];
}
}
All the main variables such as $afp_form_fields should be equal with $data['afp_form_fields']
Other example:
{if $c.js_realtime_validator eq '1'}
// code here
{/if}
becomes
if ($data['c']['js_realtime_validator'] == 1) {
// code here
}
If you've worked with Smarty before, this should be piece of cake. I'm looking for a responsive and meticulous developer. This is an easy task for someone familiar with Smarty or other template engine. But you have to take your time and make sure that you are careful not typing the wrong variables or making spelling mistake.
If you haven't worked with a template engine before (ideally Smarty), please don't waste my time nor yours :). I need a professional that knows what he's doing. Note that the code must be also indented (not just written in a hurry for the sake of writing it).
PS: If the job is done without any problems, I would be happy to give you a few other templates to convert.
Regards,
Gabriel
项目ID: #9263337
关于项目
有7名威客正在参与此工作的竞标,均价$75/小时
Hello Good Day I have worked a lot with Smarty. I can convert your tpl file to a php file. Looking forward to work with you. Thanks Rinsad
We are 20+ people in team having more than 12 years experiences with web development. We are running our small company . Just give us chance you will be happy with our services.
I have experience in smarty and other templating engines. Having worked with smarty as well as systems built on the smarty template process. I am sure I will be able to complete this job for you with no issues.