Skip to content

Commit

Permalink
create member
Browse files Browse the repository at this point in the history
  • Loading branch information
MatAsmat committed Jul 24, 2021
1 parent 191dccc commit 2fc9aee
Show file tree
Hide file tree
Showing 23 changed files with 163 additions and 161 deletions.
18 changes: 9 additions & 9 deletions member/ctag/create_member_cat_anti_flea_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

18 changes: 9 additions & 9 deletions member/ctag/create_member_cat_dirofilaria_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

18 changes: 9 additions & 9 deletions member/ctag/create_member_cat_doctor_visit_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

18 changes: 9 additions & 9 deletions member/ctag/create_member_cat_drug_details.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

18 changes: 9 additions & 9 deletions member/ctag/create_member_cat_health_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

18 changes: 9 additions & 9 deletions member/ctag/create_member_cat_vaccine_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

18 changes: 9 additions & 9 deletions member/ctag/create_member_cat_weight_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

2 changes: 1 addition & 1 deletion member/ctag/include_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@

.data-back {
position: absolute;
top: 30%;
top: 55%;
left: 65%;
transform: translate(-50%, -50%);
}
Expand Down
4 changes: 2 additions & 2 deletions member/ctag/profile_tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<img class="img-front" src="./../../admin/image/templates/<?php echo $row['TemplateFrontImageSample'];?>" width="250px" alt="template">
<div class="data-front">
<div class="data-left">
<p><?php echo $FirstName.' '.$LastName;?></p>
<p><?php echo $FirstName;?></p>
<p><?php echo $Telephone;?></p>
<p><?php echo $Line;?></p>
</div>
Expand All @@ -79,7 +79,7 @@
<div class="flip-card-back">
<img class="img-back" src="./../../admin/image/templates/<?php echo $row['TemplateBackImageSample'];?>" width="250px" alt="template">
<div class="data-back">
<img src="../profileimg/ctag/<?php echo $row['CatPhoto'];?>" width="100px" alt="template">
<img src="../profileimg/ctag/<?php echo $row['CatPhoto'];?>" width="200px" alt="template">
</div>
</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions member/dtag/create_info_dtag.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@
echo "<td>" .$row["DogWeightDate"] . "</td> ";
echo "<td>" .$row["DogWeight"] . "</td> ";
echo "<td>" .$row["DateSave"] . "</td> ";
echo "<td class='project-actions text-center'>
<a href='#editbtn1$ID' class='btn btn-info btn-sm'> <i class='fas fa-pencil-alt'>
</i> แก้ไข</a></td> ";
echo "<td>
<button type='button' class='btn btn-primary editbtn1'>Edit</button>
</td> ";
Expand Down
18 changes: 9 additions & 9 deletions member/dtag/create_member_dog_anti_flea_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

18 changes: 9 additions & 9 deletions member/dtag/create_member_dog_dirofilaria_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

18 changes: 9 additions & 9 deletions member/dtag/create_member_dog_doctor_visit_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

18 changes: 9 additions & 9 deletions member/dtag/create_member_dog_drug_details.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

18 changes: 9 additions & 9 deletions member/dtag/create_member_dog_health_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

18 changes: 9 additions & 9 deletions member/dtag/create_member_dog_vaccine_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.location = '../index.php'; ";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.location = '../index.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

19 changes: 9 additions & 10 deletions member/dtag/create_member_dog_weight_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,15 @@
mysqli_close($condb);

if($result){
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
echo "<script type='text/javascript'>";
echo "alert('เพิ่มข้อมูลสำเร็จ');";
echo "window.history.back();";
echo "</script>";
}else{
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
// echo "window.location = 'create_info_dtag.php'; ";
echo "</script>";
}
echo "<script type='text/javascript'>";
echo "alert('Error!!');";
echo "window.history.back();";
echo "</script>";
}
?>

2 changes: 1 addition & 1 deletion member/dtag/include_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@

.data-back {
position: absolute;
top: 30%;
top: 55%;
left: 65%;
transform: translate(-50%, -50%);
}
Expand Down
Loading

0 comments on commit 2fc9aee

Please sign in to comment.