Commit 0dd94093 by Trần Văn Minh

Merge branch 'dev' of http://git.dcv.vn/doanpv/vmusicchart-cms into dev

parents 02fe6cf8 9dd00d3a
...@@ -137,17 +137,23 @@ $check = "checked => 1"; ...@@ -137,17 +137,23 @@ $check = "checked => 1";
<div class="col-lg-3" id="source"> <div class="col-lg-3" id="source">
<div class="row"> <div class="row">
<div class="col-lg-4"> <div class="col-lg-4">
<input name="source" id="zing" value="zing" type="radio" <label class="src-option">
<?php if ($source == 'zing' || $source != 'nct' || $source != 'keeng') echo 'checked';?>> <input name="source" id="zing" value="zing" type="radio"
Zing <?php if ($source == 'zing' || $source != 'nct' || $source != 'keeng') echo 'checked';?>>
Zing
</label>
</div> </div>
<div class="col-lg-4"> <div class="col-lg-4">
<input name="source" id="nct" value="nct" type="radio" <label class="src-option">
<?php if($source == 'nct' ) echo 'checked' ;?>> NCT <input name="source" id="nct" value="nct" type="radio"
<?php if($source == 'nct' ) echo 'checked' ;?>> NCT
</label>
</div> </div>
<div class="col-lg-4"> <div class="col-lg-4">
<input name="source" id="keeng" value="keeng" type="radio" <label class="src-option">
<?php if($source == 'keeng' ) echo 'checked'; ?>> Keeng <input name="source" id="keeng" value="keeng" type="radio"
<?php if($source == 'keeng' ) echo 'checked'; ?>> Keeng
</label>
</div> </div>
</div> </div>
<?php <?php
...@@ -156,23 +162,24 @@ $check = "checked => 1"; ...@@ -156,23 +162,24 @@ $check = "checked => 1";
</div> </div>
</div> </div>
<div class="form-group" id="nct_id" style="display: none;"> <div class="form-group">
<label class="col-lg-3">ID Nhạc của tui </label> <label class="col-lg-3">Link nhạc</label>
<div class="col-lg-3"> <div class="col-lg-3">
<?php <?php
echo form_input($input_nct_id); echo form_input($input_link);
?> ?>
</div> </div>
<input type="hidden" name="src_option"
value="<?php echo isset($src_option) ? $src_option : 'zing'; ?>" id="src_option">
</div> </div>
<div class="form-group">
<label class="col-lg-3">Link nhạc</label> <div class="form-group" id="nct_id" style="display: none;">
<label class="col-lg-3">ID Nhạc của tui </label>
<div class="col-lg-3"> <div class="col-lg-3">
<?php <?php
echo form_input($input_link); echo form_input($input_nct_id);
?> ?>
</div> </div>
<input type="hidden" name="src_option"
value="<?php echo isset($src_option) ? $src_option : 'zing'; ?>" id="src_option">
</div> </div>
<div class="form-group"> <div class="form-group">
......
...@@ -31,4 +31,6 @@ div.error > li{ ...@@ -31,4 +31,6 @@ div.error > li{
width: 175px; width: 175px;
} }
.color-red{ color: red} .color-red{ color: red}
\ No newline at end of file
label.src-option:hover { cursor: pointer }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment