Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vmusicchart-cms
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Phạm Văn Đoan
vmusicchart-cms
Commits
8199aa28
Commit
8199aa28
authored
Mar 10, 2020
by
Trần Văn Minh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
them file add_artist_view.php
parent
b51296a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
213 additions
and
0 deletions
+213
-0
add_artist_view.php
application/views/backend/cms_artist/add_artist_view.php
+213
-0
No files found.
application/views/backend/cms_artist/add_artist_view.php
0 → 100644
View file @
8199aa28
<?php
// print_r($contest[0]);
$input_username
=
array
(
'name'
=>
'username'
,
'type'
=>
'text'
,
'value'
=>
isset
(
$username
)
?
$username
:
''
,
'placeholder'
=>
'Nhập username'
,
'class'
=>
''
,
'style'
=>
'width: 100%'
,
'min'
=>
1
,
'max'
=>
50
);
$input_email
=
array
(
'name'
=>
'email'
,
'type'
=>
'email'
,
'value'
=>
isset
(
$email
)
?
$email
:
''
,
'placeholder'
=>
'Nhập pemail'
,
'class'
=>
''
,
'style'
=>
'width: 100%'
,
);
$input_full_name
=
array
(
'name'
=>
'full_name'
,
'type'
=>
'text'
,
'value'
=>
isset
(
$full_name
)
?
$full_name
:
''
,
'placeholder'
=>
'Nhập tên đầy đủ'
,
'class'
=>
''
,
'style'
=>
'width: 100%'
,
);
$input_bio
=
array
(
'name'
=>
'bio'
,
'type'
=>
'password'
,
'value'
=>
isset
(
$bio
)
?
$bio
:
''
,
'class'
=>
''
,
'style'
=>
'width: 100%'
,
);
$input_avatar
=
array
(
'name'
=>
'avatar'
,
'type'
=>
'file'
,
'class'
=>
''
,
'style'
=>
'width: 100%'
,
);
$input_cover
=
array
(
'name'
=>
'cover'
,
'type'
=>
'file'
,
'class'
=>
''
,
'style'
=>
'width: 100%'
,
);
$input_link_zing
=
array
(
'name'
=>
'link_zing'
,
'type'
=>
'text'
,
'value'
=>
isset
(
$link_zing
)
?
$link_zing
:
''
,
'placeholder'
=>
'Nhập Link Zingmp3'
,
'class'
=>
''
,
'style'
=>
'width: 100%'
,
);
$input_link_nct
=
array
(
'name'
=>
'link_nct'
,
'type'
=>
'text'
,
'value'
=>
isset
(
$link_nct
)
?
$link_nct
:
''
,
'placeholder'
=>
'Nhập link NCT'
,
'class'
=>
''
,
'style'
=>
'width: 100%'
,
);
$input_link_keeng
=
array
(
'name'
=>
'link_keeng'
,
'type'
=>
'text'
,
'value'
=>
isset
(
$link_keeng
)
?
$link_keeng
:
''
,
'placeholder'
=>
'Nhập link Keeng'
,
'class'
=>
''
,
'style'
=>
'width: 100%'
,
);
?>
<div
class=
"row"
>
<div
class=
"widget-box"
>
<div
class=
"widget-header"
>
<p
class=
"widget-title"
>
Thêm mới Ca sĩ/Nhạc sĩ
</p>
</div>
<div
class=
"widget-body"
>
<div
class=
"widget-main"
>
<?php
$attributes
=
array
(
'class'
=>
'form-horizontal'
,
'id'
=>
'myform'
);
echo
form_open
(
base_url
()
.
'backend/cmsArtist/addArtist/'
,
$attributes
);
?>
<div
class=
"form-group"
>
<label
class=
"col-lg-3"
></label>
<div
class=
"col-lg-3"
>
<input
type=
"hidden"
name=
"id"
value=
""
/>
<?php
if
(
validation_errors
()){
echo
form_error
(
'id'
,
'<div class="error">'
,
'</div>'
);}
?>
</div>
</div><div
class=
"form-group"
>
<label
class=
"col-lg-3"
>
Username (*)
</label>
<div
class=
"col-lg-3"
>
<?php
echo
form_input
(
$input_username
);
if
(
validation_errors
()){
echo
form_error
(
'username'
,
'<div class="error">'
,
'</div>'
);}
?>
</div>
<div><span
name
></span></div>
</div>
<!--
<?php
if
(
!
$contest
[
0
])
{
?>
<div class="form-group">
<label class="col-lg-3">Password (*)</label>
<div class="col-lg-3">
<?php
echo
form_input
(
$input_password
);
if
(
validation_errors
()){
echo
form_error
(
'username'
,
'<div class="error">'
,
'</div>'
);}
?>
</div>
</div>
<?php
}
?>
-->
<div
class=
"form-group"
>
<label
class=
"col-lg-3"
>
Email (*)
</label>
<div
class=
"col-lg-3"
>
<?php
echo
form_input
(
$input_email
);
if
(
validation_errors
()){
echo
form_error
(
'email'
,
'<div class="error">'
,
'</div>'
);}
?>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-lg-3"
>
Tên đầu đủ (*)
</label>
<div
class=
"col-lg-3"
>
<?php
echo
form_input
(
$input_full_name
);
if
(
validation_errors
()){
echo
form_error
(
'full_name'
,
'<div class="error">'
,
'</div>'
);}
?>
</div>
</div>
<!-- <div class="form-group">
<label class="col-lg-3">Bio </label>
<div class="col-lg-3">
<?php
echo
form_textarea
(
$input_bio
);
if
(
validation_errors
()){
echo
form_error
(
'date_from'
,
'<div class="error">'
,
'</div>'
);}
?>
</div>
</div>
<div class="form-group">
<label class="col-lg-3">Avartar</label>
<div class="col-lg-3">
<?php
echo
form_upload
(
$input_avatar
);
?>
</div>
</div>
<div class="form-group">
<label class="col-lg-3">Cover</label>
<div class="col-lg-3">
<?php
echo
form_upload
(
$input_cover
);
?>
</div>
</div> -->
<div
class=
"form-group"
>
<label
class=
"col-lg-3"
>
Link Zingmp3
</label>
<div
class=
"col-lg-3"
>
<?php
echo
form_input
(
$input_link_zing
);
?>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-lg-3"
>
Link Nhạc của tui
</label>
<div
class=
"col-lg-3"
>
<?php
echo
form_input
(
$input_link_nct
);
?>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-lg-3"
>
Link Keeng
</label>
<div
class=
"col-lg-3"
>
<?php
echo
form_input
(
$input_link_keeng
);
?>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"col-lg-3"
>
<a
href=
"
<?php
echo
base_url
()
.
'backend/cmsArtist/listArtist'
?>
"
onclick=
"return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')"
>
<button
type=
"button"
class=
"btn btn-sm btn-default"
>
<i
class=
"ace-icon fa fa-arrow-left"
></i>
Quay lại
</button>
</a>
</div>
<div
class=
"col-lg-4"
>
<button
class=
"btn btn-sm btn-primary"
type=
"submit"
name=
"btnSave"
>
<i
class=
"ace-icon fa fa-check bigger-110"
></i>
Lưu lại
</button>
<button
class=
"btn btn-sm"
type=
"reset"
>
<i
class=
"ace-icon fa fa-undo bigger-110"
></i>
Xóa form
</button>
</div>
</div>
<?php
echo
form_close
();
?>
</div>
</div>
</div>
</div>
<!-- /.row -->
<script>
$
(
document
).
ready
(
function
(){
$
(
'.date-picker'
).
datepicker
({
autoclose
:
true
,
todayHighlight
:
true
,
minDate
:
'
<?php
echo
date
(
'Y-m-d'
)
?>
'
})
});
</script>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment