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">
<label class="src-option">
<input name="source" id="zing" value="zing" type="radio" <input name="source" id="zing" value="zing" type="radio"
<?php if ($source == 'zing' || $source != 'nct' || $source != 'keeng') echo 'checked';?>> <?php if ($source == 'zing' || $source != 'nct' || $source != 'keeng') echo 'checked';?>>
Zing Zing
</label>
</div> </div>
<div class="col-lg-4"> <div class="col-lg-4">
<label class="src-option">
<input name="source" id="nct" value="nct" type="radio" <input name="source" id="nct" value="nct" type="radio"
<?php if($source == 'nct' ) echo 'checked' ;?>> NCT <?php if($source == 'nct' ) echo 'checked' ;?>> NCT
</label>
</div> </div>
<div class="col-lg-4"> <div class="col-lg-4">
<label class="src-option">
<input name="source" id="keeng" value="keeng" type="radio" <input name="source" id="keeng" value="keeng" type="radio"
<?php if($source == 'keeng' ) echo 'checked'; ?>> Keeng <?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">
......
...@@ -32,3 +32,5 @@ div.error > li{ ...@@ -32,3 +32,5 @@ div.error > li{
} }
.color-red{ color: red} .color-red{ color: red}
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