Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
755f3d5
0811
Aug 11, 2020
a189dc7
Update auction_mainview.jsp
HDPark95 Aug 11, 2020
13cc735
Update auctionmypage.jsp
HDPark95 Aug 11, 2020
b1a1cde
Update auctionmypage.jsp
HDPark95 Aug 11, 2020
ed9f663
Update Test.jsp
HDPark95 Aug 11, 2020
7e5830b
Update loading.html
HDPark95 Aug 11, 2020
0590fd2
Update modal2.jsp
HDPark95 Aug 11, 2020
9cb82a9
Update newsPage.jsp
HDPark95 Aug 11, 2020
b7d654c
Update product.jsp
HDPark95 Aug 11, 2020
6df6ca8
Update information.jsp
HDPark95 Aug 11, 2020
c3c8e90
Update information.jsp
HDPark95 Aug 11, 2020
318989a
Update information2.jsp
HDPark95 Aug 11, 2020
d3c06ba
Update information.jsp
HDPark95 Aug 11, 2020
b37aad2
Update newsPaging.jsp
HDPark95 Aug 11, 2020
e08818e
Update pageProcess.jsp
HDPark95 Aug 11, 2020
f79cc38
Update productPaging.jsp
HDPark95 Aug 11, 2020
61d3c39
Update realpricePaging.jsp
HDPark95 Aug 11, 2020
9ade35a
Update sidemenu2.jsp
HDPark95 Aug 11, 2020
1a11d46
Update surveyAddform.jsp
HDPark95 Aug 11, 2020
8ea2a60
Update pageprocess_reply.jsp
HDPark95 Aug 11, 2020
6bf4455
Update customerboard.jsp
HDPark95 Aug 11, 2020
2dc2bbe
Update customerboardDetail.jsp
HDPark95 Aug 11, 2020
166262b
Update customerboardUpdate.jsp
HDPark95 Aug 11, 2020
9d4a523
Update customerboardWrite.jsp
HDPark95 Aug 11, 2020
7453db8
Update customer.jsp
HDPark95 Aug 11, 2020
482b692
Update pageprocess_all.jsp
HDPark95 Aug 11, 2020
c0e344f
Update pageprocess_all.jsp
HDPark95 Aug 11, 2020
611bd26
Update estatepage.jsp
HDPark95 Aug 11, 2020
275d2b3
Update findAccount.jsp
HDPark95 Aug 11, 2020
7219de8
Update passwordFind.jsp
HDPark95 Aug 11, 2020
2f29adc
Update header_AuctionSubMenu.jsp
HDPark95 Aug 11, 2020
552e83d
Update header_CoEstateSubMenu.jsp
HDPark95 Aug 11, 2020
3250e59
Update header_MyPageSubMenu.jsp
HDPark95 Aug 11, 2020
3f7bf78
Update header_main.jsp
HDPark95 Aug 11, 2020
0cd4e57
Update header_menu.jsp
HDPark95 Aug 11, 2020
07f6dec
Update searchFilter.jsp
HDPark95 Aug 11, 2020
9328511
Update index.jsp
HDPark95 Aug 11, 2020
4b4cce3
Update mypage_posts.jsp
HDPark95 Aug 11, 2020
90d7d7a
Update payment.jsp
HDPark95 Aug 11, 2020
128954e
Update payment2.jsp
HDPark95 Aug 11, 2020
27bc30a
Update c3.min.css
HDPark95 Aug 11, 2020
5fb31fe
Update loading.css
HDPark95 Aug 11, 2020
1d05213
Update modal.css
HDPark95 Aug 11, 2020
8782c03
Update sidebar.css
HDPark95 Aug 11, 2020
79a4746
Update ion.rangeSlider.min.css
HDPark95 Aug 11, 2020
556619c
Update th_styles.css
HDPark95 Aug 11, 2020
5f16236
Update styles.css
HDPark95 Aug 11, 2020
778d6ed
Update MarkerClustering.js
HDPark95 Aug 11, 2020
19651a1
Update map.js
HDPark95 Aug 11, 2020
243776e
Update ion.rangeSlider.min.js
HDPark95 Aug 11, 2020
320d8c1
Update pom.xml
HDPark95 Aug 11, 2020
e034c3e
Update config.xml
HDPark95 Aug 11, 2020
b20accd
Update LoginDao.java
HDPark95 Aug 11, 2020
eca2f8c
Update PaymentDao.java
HDPark95 Aug 11, 2020
3f35d93
Update SignUpDao.java
HDPark95 Aug 11, 2020
bafbd7b
Update Email.java
HDPark95 Aug 11, 2020
640f381
Update community_replyMapper.xml
HDPark95 Aug 11, 2020
025a1e4
Update customer_boardmapper.xml
HDPark95 Aug 11, 2020
63472cf
Update rawdataMapper.xml
HDPark95 Aug 11, 2020
6e6c3ff
Update signupMapper.xml
HDPark95 Aug 11, 2020
6150d67
Update FindAccountPage.java
HDPark95 Aug 11, 2020
3125b59
Update PaymentService.java
HDPark95 Aug 11, 2020
3864b53
Update PaymentService.java
HDPark95 Aug 11, 2020
7a38585
Update PaymentService.java
HDPark95 Aug 11, 2020
404a22a
Update config.xml
HDPark95 Aug 11, 2020
0bb70f4
Update community_replyMapper.xml
HDPark95 Aug 11, 2020
d45c8d3
Update customer_boardmapper.xml
HDPark95 Aug 11, 2020
cd9997e
Update rawdataMapper.xml
HDPark95 Aug 11, 2020
c2ea8e6
Update signupMapper.xml
HDPark95 Aug 11, 2020
59130f0
Update pom.xml
HDPark95 Aug 11, 2020
3c87da4
Update auctionDetail.jsp
HDPark95 Aug 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions project/semiProjectSpring/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jdom-2.0.2.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/json-simple-1.1.1.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/org.springframework.web.servlet-3.2.2.RELEASE.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/javaSDK-2.2.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/libDaumMapAndroid.jar"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Binary file not shown.
Binary file not shown.
32 changes: 32 additions & 0 deletions project/semiProjectSpring/WebContent/WEB-INF/semi-project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:task="http://www.springframework.org/schema/task"
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.3.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd">
Expand All @@ -15,6 +17,10 @@
<mvc:resources location="file:///C:/ikosmo64/pics/" mapping="/img/*" />
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"/>
<bean id="JsonView" class="org.springframework.web.servlet.view.json.MappingJackson2JsonView"/>
<!-- 작업예약 경매 상태값 업데이트 -->
<task:annotation-driven executor="excutor" scheduler="scheduler"/>
<task:scheduler id="scheduler" pool-size="5"/>
<task:executor id="excutor" keep-alive="5" pool-size="1-2" queue-capacity="1" rejection-policy="ABORT"/>
<!-- <bean id="tilesViewResolver" class="org.springframework.web.servlet.view.UrlBasedViewResolver">
<property name="viewClass" value="org.springframework.web.servlet.view.tiles3.TilesView"/>
<property name="order" value="0"/>
Expand All @@ -33,4 +39,30 @@
<ref bean="loginInterceptor"></ref>
</mvc:interceptor>
</mvc:interceptors>

<!-- 메일 보내기 (SEND) -->
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
<property name="host" value="smtp.gmail.com" />
<property name="port" value="587" />
<property name="username" value="coaudwjd@gmail.com" />
<property name="password" value="audwjd2718" />



<!-- email 요청시는 SMTP -->
<property name="javaMailProperties">
<props>
<prop key="mail.transport.protocol">smtp</prop>
<prop key="mail.smtp.auth">true</prop>
<prop key="mail.smtp.starttls.enable">true</prop>
<prop key="mail.debug">true</prop>
<prop key ="mail.smtp.ssl.trust">smtp.gmail.com</prop>
</props>
</property>
</bean>

<bean id="email" class="semiproject.mvc.email.Email">
</bean>
<bean id="emailSender" class="semiproject.mvc.email.EmailSender">
</bean>
</beans>
Original file line number Diff line number Diff line change
@@ -1,30 +1,21 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../include/header_index.jsp"%>

<%@ include file="../include/header_menu.jsp"%>
<link rel="stylesheet" href="resources/css/auction/hyunstyle.css" />
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="resources/css/auction/ggg.css" />
<script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css" />


<!-- <link rel="stylesheet" href="resources/css/auction/hyunstyle.css" /> -->
<link rel="stylesheet" href="resources/css/styles.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="resources/css/auction/ggg.css"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.css" />
<style>
.modal a.close-modal {
top: 0px;
right: 0px;
}

.search {
float: left;
margin-right: 20px;
}

.modal {
height: unset;
}
Expand All @@ -35,9 +26,10 @@
overflow: visible!important;
}
</style>
<div id="new" class="collapse navbar-collapse"
style="width: 1200px; margin: 0 auto; display: block;">
<div id="new" class="collapse navbar-collapse" style="width: 1200px; margin: 0 auto;">
<div class="container default" style="border-bottom: 1px solid black;">
<input type="hidden" value="${user.dname}">
<input type="hidden" value="${user.aid}">
<div class="row">
<h2 class="fs-md col-sm-6" style="margin-top: 50px;">
<strong>${result.subject} [${result.yongdo}]</strong>
Expand All @@ -50,23 +42,24 @@
<table style="margin-top: 10px;">
<tr>
<td rowspan="11">

<div id="target" class="bul">
<img src="img/${result.wimage}" id="main1"
<img src="img/${result.wimage}"onerror="this.src='img/noimg.jpg'" id="main1"
style="width: 550px; margin: 0 auto;">
</div>
<table id="bul" style="width: 550px; height: 110px">
<tr>
<td style="width: 25%; float: left;"><img
src="img/${result.wimage}" class="im"
<td style="width: 25%; float: left;"><img
src="img/${result.wimage}" class="im"onerror="this.src='img/noimg.jpg'"
style="width: 137.5px; height: 128px; margin-top: 10px;"></td>
<td style="width: 25%; float: left;"><img
src="img/${result.imagea}" class="im"
src="img/${result.imagea}" class="im" onerror="this.src='img/noimg.jpg'"
style="width: 137.5px; height: 128px; margin-top: 10px;"></td>
<td style="width: 25%; float: left;"><img
src="img/${result.imageb}" class="im"
src="img/${result.imageb}" class="im"onerror="this.src='img/noimg.jpg'"
style="width: 137.5px; height: 128px; margin-top: 10px;"></td>
<td style="width: 25%; float: left;"><img
src="img/${result.imagec}" class="im"
src="img/${result.imagec}" class="im"onerror="this.src='img/noimg.jpg'"
style="width: 137.5px; height: 128px; margin-top: 10px;"></td>
</tr>
</table>
Expand Down Expand Up @@ -119,6 +112,10 @@
<th>판매자 ID</th>
<td>${result.bid}</td>
</tr>
<tr>
<th>현재가</th>
<td style="color: blue; font-weight: 900">${result.hprice}</td>
</tr>
<tr>
<td colspan="2"><a href="#ex1" rel="modal:open"
class="btn btn-primary btn-lg" id="sal">입찰하기</a></td>
Expand All @@ -144,9 +141,7 @@
${result.bplan}
</textarea>
</div>
<div id="ex1" class="modal">


<div id="ex1" class="modal">W
<div class="modal-body">
<table class="table-data" id="sellCreditTable" style="width: 100%;">
<thead>
Expand All @@ -159,6 +154,11 @@
<th colspan="2">판매자</th>
<td colspan="2" id="1">${result.bid}</td>

</tr>
<tr>
<th colspan="2">입찰자</th>
<td colspan="2" id="2">${user.aid}</td>

</tr>
<tr>
<th colspan="2">남은기간</th>
Expand All @@ -170,11 +170,11 @@
</tr>
<tr>
<th colspan="2">현재가</th>
<td colspan="2" id="4">${result.hprice}</td>
<td colspan="2" id="4" style="color: blue">${result.hprice}</td>
</tr>
<tr>
<th colspan="2">입찰금액</th>
<td colspan="2" id="5"><input type="text" name="ipprice" id="ipprice" value="${vo.ipprice}"></td>
<td colspan="2" id="5"><input type="text" name="ipprice" id="ipprice" ></td>
</tr>
</tbody>
</table>
Expand All @@ -186,56 +186,84 @@
</div>
</div>
</div>
<input type="hidden" id="valtest" value="${result.hprice}">
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.js"></script>
<input type="hidden" id="valtest" value="${result.htprice}">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-modal/0.9.1/jquery.modal.min.js"></script>
<script>



function test(){
var ipprice = $("#ipprice").val();
ipprice = Number(ipprice);
var ipnum = "${result.ipnum}";
var bid = "${result.bid}";
var bid = "${user.aid}";
//var aid = "";
var anum = "${result.anum}";
var url = "?ipprice=" + ipprice + "&ipnum="+ipnum +"&bid="+bid
location = 'purchase'+url
//location = 'purchase'+url

console.log(ipprice);
console.log(typeof(${result.hprice}));

var numvv = parseInt($('#valtest').val().replace(",",""),10)
var numvv = $('#valtest').val();
alert("numvv:"+numvv+"ipprice:"+ipprice);
if(numvv > $("#ipprice").val()){
alert('입찰금액이 현재가 보다 낮습니다. 다시 입력해주세요.')
location.reload();
//location.reload();
}else{
fcmpush(ipnum);
location = 'purchase'+url
alert('입찰되었습니다! 축하드립니다!')
}
};
function fcmpush(ipnum){
$.ajax({
url : "fcmcall?ipnum="+ipnum,
type : "get" ,
success : function(result) {
console.log("pass");
}
});
}
$(document).ready(function() {
var $node = $('div').children();
$('.im').click(function() {
$('.im').click(function() {
$('#target img').attr('src', $(this).attr('src'));

});
});
function close_pop(flag) {
$('#ex1').hide();
};
$('#sal').click(function(event){

$('#sal').click(function(event){
var bid = "${result.bid}";
var name = "${user.aid}";
console.log(bid)
console.log(name)
if(bid == name){
alert("판매자와 물건을 등록한 사람이 같습니다. 입찰 할 수 없습니다.")
event.stopPropagation();
$('#sal').attr('class', "btn btn-primary btn-lg disabled");
}if(bid != name){
alert("경매가 진행중인 물건입니다.")
}
if($('.timer').html() == "EXPIRED"){
event.stopPropagation();
alert("물건 경매가 마감되었습니다.")
$('#sal').attr('class', "btn btn-primary btn-lg disabled");

}else{
alert("경매가 진행중인 물건입니다.")


}

});



/* var i= 0;
var menu =$('#bul > ul > li').length;
var inter = setInterval(function() {
Expand Down Expand Up @@ -294,4 +322,4 @@ function test(){
}, 30000);
})
</script>
<%@ include file="../include/footer.jsp"%>
<%@ include file="../include/footer.jsp"%>
Loading