Beispiel #1
0
			<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');
Beispiel #2
0
        if ($job->applyExternalUrl) {
            if (strpos($job->applyExternalUrl, "http://") !== false || strpos($job->applyExternalUrl, "https://") !== false) {
                $url = $job->applyExternalUrl;
            } else {
                $url = "http://" . $job->applyExternalUrl;
            }
            $html .= '<a class="extlink" href="' . $url . '" rel="external">' . Lang::txt('COM_JOBS_ACTION_APPLY_EXTERNALLY') . '</a>' . "\n";
            $html .= $job->applyInternal ? '<span class="or">' . strtolower(Lang::txt('COM_JOBS_OR')) . '</span>' . "\n" : '' . "\n";
        }
        if ($job->applyInternal) {
            $html .= '<span class="applybtn"><a href="' . Route::url('index.php?option=' . $this->option . '&task=apply&code=' . $job->code) . '">' . Lang::txt('COM_JOBS_ACTION_APPLY_THROUGH_HUB') . ' ' . Config::get('sitename') . '</a></span>' . "\n";
        }
    }
}
$html .= '</p>';
$html .= $job->applied ? \Components\Jobs\Helpers\Html::confirmscreen(Route::url('index.php?option=' . $this->option . '&task=job&code=' . $job->code), Route::url('index.php?option=' . $this->option . '&task=withdraw&code=' . $job->code), $action = "withdrawapp") . "\n" : '';
$html .= '</div>' . "\n";
$html .= '<div>' . "\n";
$html .= '<span class="sub-heading">' . Lang::txt('COM_JOBS_TABLE_CATEGORY') . '</span>' . "\n";
$html .= '<p>' . $job->cat . '</p>' . "\n";
$html .= '<span class="sub-heading">' . Lang::txt('COM_JOBS_TABLE_TYPE') . '</span>' . "\n";
$html .= '<p>' . $job->type . '</p>' . "\n";
$html .= '<span class="sub-heading">' . Lang::txt('COM_JOBS_TABLE_START_DATE') . '</span>' . "\n";
$html .= '<p>' . $startdate . '</p>' . "\n";
$html .= '<span class="sub-heading">' . Lang::txt('COM_JOBS_TABLE_EXPIRES') . '</span>' . "\n";
$html .= '<p>' . $closedate . '</p>' . "\n";
$html .= '<div class="reg details">' . $maintext . '</div>' . "\n";
if ($job->contactName) {
    $html .= '<p class="reg details">' . Lang::txt('COM_JOBS_JOB_INFO_CONTACT') . ':</p>' . "\n";
    $html .= '<p class="reg">' . "\n";
    $html .= '<span class="contactname">' . $job->contactName . '</span>' . "\n";
Beispiel #3
0
				<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>
Beispiel #4
0
     $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> ';
 $html .= $thissub ? Lang::txt('COM_JOBS_SUBSCRIPTION_EXTEND_OR_RENEW') : Lang::txt('COM_JOBS_ACTION_SIGN_UP');
 $html .= ' ' . Lang::txt('for') . ' ' . "\n";
 $html .= $unitsChoice;
 $html .= $this->services[$i]->unitmeasure . '(s) </label>' . "\n";
 $html .= '<span class="totalprice">' . Lang::txt('COM_JOBS_SUBSCRIBE_YOUR_TOTAL') . ' ';
 $html .= $thissub ? strtolower(Lang::txt('COM_JOBS_NEW')) . ' ' : '';
 $html .= Lang::txt('COM_JOBS_SUBSCRIBE_PAYMENT_WILL_BE') . ' <span class="no">' . $this->services[$i]->currency . '</span> <span id="injecttotal_' . $this->services[$i]->id . '"> ' . $iniprice . '</span>';
 $html .= '.</span>' . "\n";
 // GOOGLE Checkout (TBD)
 $html .= '<input type="hidden" class="product-price" value="' . $this->escape($this->services[$i]->unitprice) . '" />' . "\n";
 $html .= '<input type="hidden" class="product-title" value="' . $this->escape($this->services[$i]->title) . '" />' . "\n";
 $html .= '</div>' . "\n";
 $html .= '</div>' . "\n";