diff --git a/css/stdb.css b/css/stdb.css index 7590b3a..e3cafdf 100644 --- a/css/stdb.css +++ b/css/stdb.css @@ -211,4 +211,26 @@ img{ border-radius: 5px; border: 0px; -} \ No newline at end of file +} + +/* Author :: Apirak */ +/* Add cover image to display */ +.box-left { + width: 20%; + height: 100%; + display: inline-table; +} + +.box-right { + /*float: right;*/ + width: 80%; + height: 100%; + display: inline-table; +} +img.cover-img { + width: 120px; + height: 120px; + margin-top: -2%; + margin-left: 1%; +} +/* End */ \ No newline at end of file diff --git a/index.html b/index.html index c8c3266..4dd1e07 100644 --- a/index.html +++ b/index.html @@ -3,161 +3,45 @@ - Login Form - - - - - - - + + - + - -
- -
-
-
-
-
- -
-
  • -
    - thumb_up -
    -
    (Last 7 day)
    -
    - -
  • - -
  • -
    - trending_up -
    -
    (Last 7 day)
    -
    - -
  • - -
  • -
    - people -
    -
    (Last 7 day)
    -
    - -
  • - -
  • -

    อุปกรณ์

    -
    - featured_play_list - photo -
    -
    - ทั้งหมด - มีรูป -
    -
    - - -
    - -
  • -
    -
    - -
    - -
    -
    - - + + - '; - // console.log(dataInstrument[i].clips.length) + console.log(dataInstrument[i].clips.length) if(dataInstrument[i].clips.length === 0){ - // console.log('========= = 0 =========') + console.log('========= = 0 =========') imageTag = '
    ' +'
    ' +'
    ' @@ -178,7 +183,7 @@ function getData(respone) { else{ var style4 = '' if(dataInstrument[i].clips.length >= 2){ - // console.log('*********** >= 2 ***********') + console.log('*********** >= 2 ***********') var tagMiniImage = '' var loopImage = dataInstrument[i].clips.length if (loopImage > 4){ @@ -202,7 +207,7 @@ function getData(respone) { } } else{ - // console.log('*********** < 2 ***********') + console.log('*********** < 2 ***********') var tagMiniImage = '' for(j=1;j<4;j++){ if (j==3){ @@ -318,11 +323,11 @@ function uploadImage(idImage) { $(":file").change(function () { if (this.files && this.files[0] && check===0) { var reader = new FileReader(); - // console.log(reader) + console.log(reader) reader.onload = function(e) { instrument = dataInstrument[parseInt(idImage)] - // console.log(instrument) - // console.log('-------------xxxx-------------') + console.log(instrument) + console.log('-------------xxxx-------------') var uriAdd = [{'uri':e.target.result}]; dataUri = dataUri.concat(uriAdd); if(idImage == 'add'){ @@ -334,22 +339,22 @@ function uploadImage(idImage) { $('#myImg'+idImg+''+idImage).attr('src', dataInstrument[idImage].clips[idImg].photo); } } - // console.log(idImage) + console.log(idImage) var dataUriSort = dataUri idloopImage = loopImage if(loopImage==0){ idloopImage = 0 } var idUri = 0 - // console.log(dataUri) - // console.log(loopImage-1) - // console.log(idloopImage+dataUri.length) + console.log(dataUri) + console.log(loopImage-1) + console.log(idloopImage+dataUri.length) for(idImg=loopImage;idImg + Login Form - - + + + + + + + - + + - - - - -
    - LOGIN - | - STAT +
    -
    +
    +
    +
    +
    + +
    +
  • +
    + thumb_up +
    +
    (Last 7 day)
    +
    + +
  • + +
  • +
    + trending_up +
    +
    (Last 7 day)
    +
    + +
  • + +
  • +
    + people +
    +
    (Last 7 day)
    +
    + +
  • + +
  • +

    อุปกรณ์

    +
    + featured_play_list + photo +
    +
    + ทั้งหมด + มีรูป +
    +
    + + +
    + +
  • +
    +
    + +
    + +
    +
    + + + +