示例#1
0
<?php

get_header('');
?>
<!-- begin row -->
<div class="row">
	<div class="col-md-8">
		<?php 
get_form_start(base_url() . 'language/update_language', 'Update Language', '');
get_field('Language', 'text', 'language', 'value="' . $language . '"');
get_field('Level', 'range', 'value', 'value="' . $value . '"');
get_field('', 'hidden', 'id', $id);
get_form_close('Update Language');
?>

	</div>
</div>
	<?php 
$page_base = '';
get_footer($page_base);
示例#2
0
<?php

get_header('');
?>
<!-- begin row -->
<div class="row">
	<div class="col-md-8">
		<?php 
get_form_start(base_url() . 'education/update_education', 'Update Education', '');
get_field('Degree', 'text', 'degree', 'value="' . $degree . '"');
get_field('Institute', 'text', 'institute', 'value="' . $institute . '"');
get_field('From_date', 'date', 'from_date', 'value="' . $from_date . '"');
get_field('From_date', 'date', 'to_date', 'value="' . $to_date . '"');
get_field('', 'hidden', 'id', $id);
get_form_close('Update Education');
?>

	</div>
</div>
	<?php 
$page_base = '';
get_footer($page_base);
示例#3
0
<?php

$page_base = '';
get_header('');
?>
<!-- begin row -->
<div class="row">
	<div class="col-md-8">
		<?php 
get_notification($notification);
get_form_start(base_url() . 'hobby/add_hobby', 'Add Hobby', '');
get_field('Hobby Name', 'text', 'name', 'required');
get_form_close("Add Hobby");
?>

	</div>
</div>
	<?php 
$page_base = '';
get_footer($page_base);
示例#4
0
<?php

get_header('');
?>
<!-- begin row -->
<div class="row">
	<div class="col-md-8">
		<?php 
get_form_start(base_url() . 'hobby/update_hobby', 'Update Hobby', '');
get_field('Hobby Name', 'text', 'name', 'value="' . $name . '"');
get_field('', 'hidden', 'id', $id);
get_form_close('Update Hobby');
?>

	</div>
</div>
	<?php 
$page_base = '';
get_footer($page_base);
示例#5
0
<?php

$page_base = '';
get_header('');
?>
<!-- begin row -->
<div class="row">
	<div class="col-md-8">
		<?php 
get_notification($notification);
get_form_start(base_url() . 'language/add_language', 'Add Language', '');
get_field('Language', 'text', 'language', 'required');
get_field('Level', 'range', 'value', 'required');
get_form_close("Add Language");
?>

	</div>
</div>
	<?php 
$page_base = '';
get_footer($page_base);
示例#6
0
<?php

$page_base = '';
get_header('');
?>
<!-- begin row -->
<div class="row">
	<div class="col-md-8">
		<?php 
//get_form_start(action,title,other properties);
//get_field('label','type','name','other properties');
//get_footer(submit button text);
get_form_start(base_url() . 'settings/update_settings', 'Edit Settings', 'enctype="multipart/form-data"');
get_field('Name', 'text', 'name', "value='{$name}'");
get_field('Tag Line', 'text', 'tag_line', "value='{$tag_line}'");
get_field('Location', 'text', 'location', "value='{$location}'");
get_field('Email', 'text', 'email', "value='{$email}'");
get_field('Phone', 'text', 'phone', "value='{$phone}'");
get_field('Facebook Link', 'text', 'facebook_link', "value='{$facebook_link}'");
get_field('Twitter Link', 'text', 'twitter_link', "value='{$twitter_link}'");
get_field('Google Plus Link', 'text', 'google_plus_link', "value='{$google_plus_link}'");
get_field('Copyright', 'text', 'copyright', "value='{$copyright}'");
get_field('Picture', 'file', 'picture', "{$picture}");
get_field('Background Picture', 'file', 'background_picture', "{$background_picture}");
get_field('CV', 'file', 'CV', "{$CV}");
get_form_close("Save Settings");
?>
	</div>
</div>
<?php 
$page_base = '';
示例#7
0
<?php

get_header('');
?>
<!-- begin row -->
<div class="row">
	<div class="col-md-8">
		<?php 
get_form_start(base_url() . 'portfolio/update_portfolio', 'Update Portfolio', '');
get_field('Project Name', 'text', 'project_name', 'value="' . $project_name . '"');
get_field('Field Name', 'text', 'field', 'value="' . $field . '"');
get_field('Online Link', 'text', 'online_link', 'value="' . $online_link . '"');
get_field('Picture', 'file', 'picture', $picture);
get_field('Details', 'textarea', 'details', $details);
get_field('', 'hidden', 'id', $id);
get_form_close('Update Portfolio');
?>

	</div>
</div>
	<?php 
$page_base = '';
get_footer($page_base);
示例#8
0
<?php

$page_base = '';
get_header('');
?>
<!-- begin row -->
<div class="row">
	<div class="col-md-8">
		<?php 
get_notification($notification);
get_form_start(base_url() . 'portfolio/add_portfolio', 'Add Portfolio', '');
get_field('Project Name', 'text', 'project_name', 'required');
get_field('Field Name', 'text', 'field', 'required');
get_field('Online Link', 'text', 'online_link', 'required');
get_field('Picture', 'file', 'picture', 'required');
get_field('Details', 'textarea', 'details', '');
get_form_close("Add Portfolio");
?>

	</div>
</div>
	<?php 
$page_base = '';
get_footer($page_base);
示例#9
0
<?php

$page_base = '';
get_header('');
?>
<!-- begin row -->
<div class="row">
	<div class="col-md-8">
		<?php 
get_notification($notification);
get_form_start(base_url() . 'education/add_education', 'Add Education', '');
get_field('Degree', 'text', 'degree', 'required');
get_field('Institute', 'text', 'institute', 'required');
get_field('From Date', 'date', 'from_date', '');
get_field('To Date', 'date', 'to_date', '');
get_form_close("Add Education");
?>

	</div>
</div>
	<?php 
$page_base = '';
get_footer($page_base);