<label> <?php echo Lang::txt('Category sought'); ?> : <?php echo \Components\Jobs\Helpers\Html::formSelect('category', $cats, $filters['category'], '', ''); ?> </label> <label> <?php echo Lang::txt('Type sought'); ?> : <?php echo \Components\Jobs\Helpers\Html::formSelect('type', $types, $filters['type'], '', ''); ?> </label> <label> <input class="option" type="checkbox" name="saveprefs" value="1" checked="checked" /> <?php echo Lang::txt('Save my search preferences'); ?> </label> <input type="hidden" name="performsearch" value="1" /> <p class="submit"> <input type="submit" value="<?php echo Lang::txt('Search'); ?> " /> </p>
<label> <?php echo Lang::txt('COM_JOBS_EDITJOB_CATEGORY'); ?> : <?php echo \Components\Jobs\Helpers\Html::formSelect('cid', $this->cats, $job->cid, '', ''); ?> </label> <label> <?php echo Lang::txt('COM_JOBS_EDITJOB_TYPE'); ?> : <?php echo \Components\Jobs\Helpers\Html::formSelect('type', $this->types, $job->type, '', ''); ?> </label> <div class="grid"> <div class="col span6"> <label for="startdate"> <?php echo Lang::txt('COM_JOBS_EDITJOB_START_DATE'); ?> : <input type="text" name="startdate" id="startdate" size="10" maxlength="10" value="<?php echo $startdate; ?> " /> <span class="hint"><?php echo Lang::txt('COM_JOBS_EDITJOB_HINT_DATE_FORMAT');
} $expires .= '</p>' . "\n"; $expires .= $this->subscription->expires > $now ? ' <a href="' . Route::url('index.php?option=' . $this->option . '&task=cancel&uid=' . $this->uid) . '" class="cancelit" id="showconfirm">[ ' . Lang::txt('COM_JOBS_SUBSCRIPTION_CANCEL_THIS') . ' ]</a>' : ''; $expires .= $this->subscription->pendingunits > 0 && $this->subscription->status == 1 ? '<p class="no">' . Lang::txt('COM_JOBS_SUBSCRIPTION_EXTEND_REQUEST_PENDING') . '</p>' : ''; } $units_select = array(); $numunits = $this->services[$i]->maxunits / $this->services[$i]->unitsize; $unitsize = $this->services[$i]->unitsize; if ($thissub) { $units_select[0] = 0; } for ($p = 1; $p <= $numunits; $p++) { $units_select[$unitsize] = $unitsize; $unitsize = $unitsize + $this->services[$i]->unitsize; } $unitsChoice = \Components\Jobs\Helpers\Html::formSelect('units_' . $this->services[$i]->id, $units_select, '', "option units"); $iniprice = $thissub ? 0 : $this->services[$i]->unitprice; $html .= '<div class="bindtogether product">' . "\n"; $html .= ' <input class="option service" type="radio" name="serviceid" id="service_' . $this->services[$i]->id . '" value="' . $this->services[$i]->id . '" '; if ($thissub or $this->subscription->serviceid == 0 && $i == 0) { $html .= 'checked="checked"'; } $html .= ' /> '; $html .= $this->services[$i]->title . ' - <span class="priceline">' . $this->services[$i]->currency . ' ' . $this->services[$i]->unitprice . ' ' . Lang::txt('COM_JOBS_PER') . ' ' . $this->services[$i]->unitmeasure . '</span>' . "\n"; $html .= '<span> ' . $this->services[$i]->description . '</span>' . "\n"; $html .= '<div class="subdetails" id="plan_' . $this->services[$i]->id . '">' . "\n"; $html .= $thissub ? $expires : ''; if ($thissub or $this->subscription->serviceid == 0 && $i == 0) { $html .= \Components\Jobs\Helpers\Html::confirmscreen(Route::url('index.php?option=' . $this->option . '&task=dashboard&uid=' . $this->uid), Route::url('index.php?option=' . $this->option . '&task=cancel&uid=' . $this->uid)); } $html .= '<label> ';