분류없음2016.08.02 15:27

<!DOCTYPE>

<html >

<head>

<title>이벤트 목록 </title>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.3.1/css/swiper.min.css">

  <!-- Demo styles -->

    <style>

   html, body {

       position: relative;

       height: 100%;

   }

   body {

       background: #eee;

       font-family: Helvetica Neue, Helvetica, Arial, sans-serif;

       font-size: 14px;

       color:#000;

       margin: 0;

       padding: 0;

   }

   .swiper-container {

       width: 100%;

       height: 300px;

   }

   .swiper-slide {

       text-align: center;        

       background: #fff;

       

       /* Center slide text vertically */

       display: -webkit-box;

       display: -ms-flexbox;

       display: -webkit-flex;

       display: flex;

       -webkit-box-pack: center;

       -ms-flex-pack: center;

       -webkit-justify-content: center;

       justify-content: center;

       -webkit-box-align: center;

       -ms-flex-align: center;

       -webkit-align-items: center;

       align-items: center;

   }

    </style>

    

</head>

<body>

<div>이벤트 배너</div>

  <!-- Swiper -->

    <div class="swiper-container">

        <div class="swiper-wrapper">

            <div class="swiper-slide" data-hash="slide1"><img src="" width="100%" height="100%"></div>

            <div class="swiper-slide" data-hash="slide2"><img src="" width="100%" height="100%"></div>         

            <div class="swiper-slide" data-hash="slide3"><img src="" width="100%" height="100%"></div>

            <div class="swiper-slide" data-hash="slide4"><img src="" width="100%" height="100%"></div>

            <div class="swiper-slide" data-hash="slide5"><img src="" width="100%" height="100%"></div>

            <div class="swiper-slide" data-hash="slide6"><img src="" width="100%" height="100%"></div>

            <div class="swiper-slide" data-hash="slide7"><img src="" width="100%" height="100%"></div>

            <div class="swiper-slide" data-hash="slide8"><img src="" width="100%" height="100%"></div>

            <div class="swiper-slide" data-hash="slide9"><img src="" width="100%" height="100%"></div>

            <div class="swiper-slide" data-hash="slide10"><img src="" width="100%" height="100%"></div>

        </div>       

        <!-- Add Arrows -->

        <div class="swiper-button-next"></div>

        <div class="swiper-button-prev"></div>

    </div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.3.1/js/swiper.min.js"></script>

  <!-- Initialize Swiper -->

    <script>    

   window.onload = function () {

       //initialize swiper when document ready  

    var swiper = new Swiper('.swiper-container', {         

         slidesPerView: 3,

         paginationClickable: true,

      nextButton: '.swiper-button-next',

        prevButton: '.swiper-button-prev',

         spaceBetween: 30

     });

       

     };   

    </script>

</body>

</html>

저작자 표시 비영리 동일 조건 변경 허락
신고

Posted by jangjeonghun
분류없음2016.06.10 15:34

===================================

=== ADODB.Command - insert, delete, update ===

===================================

Dim ObjConn_J, ObjCmd_J, ObjRs_J, Rows_J, Index_J


Set ObjConn_J = Server.CreateObject("ADODB.Connection")

ObjConn_J.Open(MEM_CONN_STR)


Set ObjCmd_J = Server.CreateObject("ADODB.Command")    

With ObjCmd_J

.ActiveConnection = ObjConn_J

.CommandType = adCmdStoredProc

.CommandText = "up_AutomaticPayment_Insert"


.Parameters.Append .CreateParameter("@Test", adVarWChar, adParamInput, 50, "TestValue")

.Parameters.Append .CreateParameter("@TestOutput", adVarWChar, adParamOutput, 50, null)


.Execute ,, adExecuteNoRecords


Response.Write(.Parameters("@TestOutput"))


End With    


If ObjConn_J.State = 1 Then 

ObjConn_J.Close  

End if


Set ObjCmd_J = Nothing    

Set ObjConn_J = Nothing



=========================

=== ADODB.Command - select  ===

=========================

Dim ObjConn_J, ObjCmd_J, ObjRs_J, Rows_J, Index_J

    

    Set ObjConn_J = Server.CreateObject("ADODB.Connection")

    ObjConn_J.Open(MEM_CONN_STR)

    

    Set ObjCmd_J = Server.CreateObject("ADODB.Command")

    With ObjCmd_J

        .ActiveConnection = ObjConn_J

        .CommandType = adCmdStoredProc

        .CommandText = "up_AutomaticPayment_SelectList"

        

        '.Parameters.Append .CreateParameter("@ResultCD", adVarWChar, adParamInput, 50, Resultcd)

        '.Parameters.Append .CreateParameter("@ResultMSG", adVarWChar, adParamInput, 50, Resultmsg)

        '.Parameters.Append .CreateParameter("@AutoBillKey", adVarWChar, adParamInput, 50, AutoBillKey)

        '.Parameters.Append .CreateParameter("@CommId", adVarWChar, adParamInput, 50, Commid)

        '.Parameters.Append .CreateParameter("@MobilId", adVarWChar, adParamInput, 50, Mobilid)

        '.Parameters.Append .CreateParameter("@MrchId", adVarWChar, adParamInput, 50, Mrchid)

        '.Parameters.Append .CreateParameter("@MSTR", adVarWChar, adParamInput, 50, MSTR)

        '.Parameters.Append .CreateParameter("@MobileNumber", adVarWChar, adParamInput, 50, No)

        '.Parameters.Append .CreateParameter("@ProductName", adVarWChar, adParamInput, 50, Prdtnm)

        '.Parameters.Append .CreateParameter("@ProductPrice", adInteger, adParamInput, 4, Prdtprice)

        '.Parameters.Append .CreateParameter("@SignDate", adVarWChar, adParamInput, 50, Signdate)

        '.Parameters.Append .CreateParameter("@SvcId", adVarWChar, adParamInput, 50, Svcid)

        '.Parameters.Append .CreateParameter("@TradeId", adVarWChar, adParamInput, 50, Tradeid)

        '.Parameters.Append .CreateParameter("@UserId", adVarWChar, adParamInput, 50, Userid)

        '.Parameters.Append .CreateParameter("@UserKey", adVarWChar, adParamInput, 50, UserKey)

        '.Parameters.Append .CreateParameter("@AutoYN", adWChar, adParamInput, 1, AutoYN)

        '.Parameters.Append .CreateParameter("@PaymentType", adInteger, adParamInput, 4, 1)

        '.Parameters.Append .CreateParameter("@PaymentMethod", adVarWChar, adParamInput, 50, "a")

        '.Parameters.Append .CreateParameter("@ProductInfoId", adBigInt, adParamInput, 8, arrMSTR(2))

    End With

    

    Set ObjRs_J = Server.CreateObject("ADODB.Recordset")

    ObjRs_J.Open ObjCmd_J, , adOpenStatic, adLockPessimistic, adCmdUnknown

    

    If Not ObjRs_J.EOF And Not ObjRs_J.BOF Then

        Rows_J = ObjRs_J.GetRows()

    End If

    

    If ObjRs_J.State = 1 Then 

        ObjRs_J.Close  

    End if

    If ObjConn_J.State = 1 Then 

        ObjConn_J.Close  

    End if    

    

    Set ObjCmd_J = Nothing

    Set ObjRs_J = Nothing

    Set ObjConn_J = Nothing    

    

    

    

    If isArray(Rows_J) then

        For Index_J = 0 To UBound(Rows_J, 2)

            Response.Write Rows_J(0, Index_J) &"<br>"

        Next    

    End If

저작자 표시 비영리 동일 조건 변경 허락
신고

Posted by jangjeonghun
C#/.NET MVC2016.05.08 16:43

도구 -> NuGet 패키지 관리자 -> 패키지 관리자 콘솔

* 패키지는 프로젝트 단위로 설치가된다. 

A 프로젝트에 entityframework를 설치했다고해서 B 프로젝트에도 entityframework가 설치되는것은 아니다.



PM> install-package ninject


PM> install-package ninject.web.common


PM> install-package ninject.mvc3

저작자 표시 비영리 동일 조건 변경 허락
신고

Posted by jangjeonghun

티스토리 툴바