Advertisement
Guest User

Untitled

a guest
Nov 3rd, 2023
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.41 KB | None | 0 0
  1.  
  2.  
  3. <?php
  4. session_start();
  5. include 'functions/functions.php';$db = mysqlconnect();
  6. include 'sectionsin/head.php';
  7.  
  8.  
  9.  
  10.  
  11. $stmt2 = $db->prepare('SELECT * FROM users WHERE id = ? ');
  12. $stmt2->execute( array($_SESSION['userid'] ) ) ;
  13. $row2 = $stmt2->fetch();
  14. ?>
  15. <!-- Page Content -->
  16. <div class="page-content">
  17.  
  18.  
  19.  
  20. <!--=====================================-->
  21. <!--= Newsfeed Area Start =-->
  22. <!--=====================================-->
  23. <div class="container">
  24. <?php // start ?>
  25.  
  26. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
  27. <link rel="stylesheet" href="bootcss/withdraw.css">
  28. <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
  29.  
  30.  
  31.  
  32. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
  33. <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
  34. <script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
  35. <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
  36.  
  37.  
  38. <!------ Include the above in your HEAD tag ---------->
  39.  
  40.  
  41.  
  42.  
  43.  
  44. <div class="container">
  45.  
  46. <!-- Breadcrumb -->
  47. <nav aria-label="breadcrumb" class="main-breadcrumb">
  48. <ol class="breadcrumb">
  49. <li class="breadcrumb-item"><a href="">Home</a></li>
  50. <li class="breadcrumb-item"><a href="javascript:void(0)">User</a></li>
  51. <li class="breadcrumb-item active" aria-current="page">Profile Settings</li>
  52. </ol>
  53. </nav>
  54. <!-- /Breadcrumb -->
  55.  
  56. <div class="row gutters-sm">
  57. <div class="col-md-4 d-none d-md-block">
  58. <div class="card">
  59. <div class="card-body">
  60. <nav class="nav flex-column nav-pills nav-gap-y-1">
  61. <a href="#profile" data-toggle="tab" class="nav-item nav-link has-icon nav-link-faded active">
  62. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user mr-2"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>Profile Information
  63. </a>
  64. <a href="#account" data-toggle="tab" class="nav-item nav-link has-icon nav-link-faded">
  65. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-settings mr-2"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg>Account Settings
  66. </a>
  67. <a href="#security" data-toggle="tab" class="nav-item nav-link has-icon nav-link-faded">
  68. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-shield mr-2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg>Security
  69. </a>
  70. <a href="#notification" data-toggle="tab" class="nav-item nav-link has-icon nav-link-faded">
  71. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell mr-2"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg>Notification
  72. </a>
  73. <a href="#billing" data-toggle="tab" class="nav-item nav-link has-icon nav-link-faded">
  74. <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-credit-card mr-2"><rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect><line x1="1" y1="10" x2="23" y2="10"></line></svg>Billing
  75. </a>
  76. </nav>
  77. </div>
  78. </div>
  79. </div>
  80. <div class="col-md-8">
  81. <div class="card">
  82. <div class="card-header border-bottom mb-3 d-flex d-md-none">
  83. <ul class="nav nav-tabs card-header-tabs nav-gap-x-1" role="tablist">
  84. <li class="nav-item">
  85. <a href="#profile" data-toggle="tab" class="nav-link has-icon active"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg></a>
  86. </li>
  87. <li class="nav-item">
  88. <a href="#account" data-toggle="tab" class="nav-link has-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-settings"><circle cx="12" cy="12" r="3"></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"></path></svg></a>
  89. </li>
  90. <li class="nav-item">
  91. <a href="#security" data-toggle="tab" class="nav-link has-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-shield"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg></a>
  92. </li>
  93. <li class="nav-item">
  94. <a href="#notification" data-toggle="tab" class="nav-link has-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg></a>
  95. </li>
  96. <li class="nav-item">
  97. <a href="#billing" data-toggle="tab" class="nav-link has-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-credit-card"><rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect><line x1="1" y1="10" x2="23" y2="10"></line></svg></a>
  98. </li>
  99. </ul>
  100. </div>
  101. <div class="card-body tab-content">
  102. <div class="tab-pane active" id="profile">
  103. <h6>YOUR PROFILE INFORMATION</h6>
  104. <hr>
  105.  
  106.  
  107. <?php
  108. if (!empty($_POST["fullName"])) {
  109. $sql = "UPDATE users SET name=? WHERE id=?";
  110. $stmt= $db->prepare($sql);
  111. $stmt->execute([$_POST["fullName"],$_SESSION['userid']]);
  112. }
  113. if (!empty($_POST["bio"])) {
  114. $sql = "UPDATE users SET bio=? WHERE id=?";
  115. $stmt= $db->prepare($sql);
  116. $stmt->execute([$_POST["bio"],$_SESSION['userid']]);
  117. }
  118. if (!empty($_POST["DOB"])) {
  119. $sql = "UPDATE users SET birthdate =? WHERE id=?";
  120. $stmt= $db->prepare($sql);
  121. $stmt->execute([$_POST["DOB"],$_SESSION['userid']]);
  122. }
  123. if (!empty($_POST["location"])) {
  124. $sql = "UPDATE users SET location =? WHERE id=?";
  125. $stmt= $db->prepare($sql);
  126. $stmt->execute([$_POST["location"],$_SESSION['userid']]);
  127. }
  128. if (!empty($_POST["sub"])) {
  129. $sql = "UPDATE users SET price =? WHERE id=?";
  130. $stmt= $db->prepare($sql);
  131. $stmt->execute([$_POST["sub"],$_SESSION['userid']]);
  132. }
  133. if (!empty($_POST["username"])) {
  134.  
  135.  
  136.  
  137. $statement = $db->prepare("SELECT * FROM users WHERE username = ? ");
  138. $statement->execute(array($_POST['username']));
  139. $count = $statement->rowCount();
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148. if ($count == "0")
  149. {
  150. $sql = "UPDATE users SET username =? WHERE id=?";
  151. $stmt= $db->prepare($sql);
  152. $stmt->execute([$_POST["username"],$_SESSION['userid']]);
  153. }else {echo "Username All Ready Taken";}
  154. }
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162. if (!empty($_POST["oldpass"])) {
  163.  
  164.  
  165. if ($_POST["newpass"] == $_POST["newpass1"]) {
  166.  
  167.  
  168.  
  169.  
  170. $md5password = sha1($_POST["oldpass"]) ;
  171.  
  172.  
  173. $statement2 = $db->prepare("SELECT * FROM users WHERE id = ? AND password = ? ");
  174. $statement2->execute(array($_SESSION['userid'],$md5password));
  175. $count2 = $statement2->rowCount();
  176.  
  177.  
  178.  
  179. if ($count2 == "0")
  180. {
  181. echo "Wrong Password";
  182.  
  183. }
  184.  
  185. else if ($count2 == "1")
  186. {
  187.  
  188. $md5password2 = sha1($_POST["newpass"]) ;
  189. $sql = "UPDATE users SET password=? WHERE id=?";
  190. $stmt= $db->prepare($sql);
  191. $stmt->execute([$md5password2, $_SESSION['userid']]);
  192.  
  193.  
  194. echo "Password Updated";
  195. }
  196.  
  197.  
  198.  
  199.  
  200. }else{echo "New Password Does Not Match";}
  201.  
  202. }
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210. $stmt22 = $db->prepare('SELECT * FROM users WHERE id = ? ');
  211. $stmt22->execute( array($_SESSION['userid'] ) ) ;
  212. $row22 = $stmt22->fetch();
  213.  
  214.  
  215. /// profile photo changer
  216. if(isset($_FILES['photo'])){
  217. $errors= array();
  218. $file_name = $_FILES['photo']['name'];
  219.  
  220.  
  221.  
  222. $statement = $db->prepare("SELECT * FROM posts WHERE username = ? ");
  223. $statement->execute(array($_SESSION['userid']));
  224. $count = $statement->rowCount();
  225.  
  226.  
  227. $nicky = $count ;
  228.  
  229. $file_size =$_FILES['photo']['size'];
  230. $file_tmp =$_FILES['photo']['tmp_name'];
  231. $file_type=$_FILES['photo']['type'];
  232. $file_ext=strtolower(end(explode('.',$_FILES['photo']['name'])));
  233.  
  234. $extensions= array("jpeg","jpg","png");
  235.  
  236.  
  237.  
  238.  
  239. if(in_array($file_ext,$extensions)=== false){
  240. $errors[]="extension not allowed, please choose a JPEG or PNG file.";
  241. }
  242.  
  243. if($file_size > 15097152){
  244. $errors[]='File size must be excately 2 MB';
  245. }
  246.  
  247. if(empty($errors)==true){
  248. $file_name = $count ;
  249.  
  250. move_uploaded_file($file_tmp,"users/".$_SESSION['userid']."/".$nicky.".".$file_ext."");
  251.  
  252.  
  253. date_default_timezone_set('Europe/London');
  254. $sTime = date("d-m-Y H:i:s");
  255.  
  256.  
  257.  
  258.  
  259. $newphoto = "https://geatzo.com/users/".$_SESSION['userid']."/".$nicky.".".$file_ext."";
  260. $sql = "UPDATE users SET avatar=? WHERE id=?";
  261. $stmt= $db->prepare($sql);
  262. $stmt->execute([$newphoto, $_SESSION['userid']]);
  263.  
  264.  
  265.  
  266. echo "Success";
  267. }else{
  268. print_r($errors);
  269. }
  270. }
  271.  
  272.  
  273.  
  274.  
  275.  
  276. ?>
  277.  
  278. <div class="user-img">
  279.  
  280. Profile Photo :
  281. <img src="<?php echo $row22['avatar'] ; ?>" alt="Aahat" width="155" height="155">
  282.  
  283. <form action="" method="POST" name="sdfsd" enctype="multipart/form-data" >
  284. <div class="tab-content">
  285.  
  286.  
  287. </div>
  288. <div class="post-footer">
  289. <div class="insert-btn">
  290.  
  291. <input type="file" name="photo" /><input type="submit" value="Upload">
  292.  
  293.  
  294. </div>
  295. <div class="submit-btn">
  296.  
  297.  
  298. </div>
  299. </form>
  300.  
  301. </div>
  302.  
  303. <br> </br>
  304. <br> </br>
  305. <br> </br>
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312. <form action="" method="POST">
  313. <div class="form-group">
  314. <label for="fullName">Full Name</label>
  315. <input type="text" class="form-control" id="fullName" name="fullName"; aria-describedby="fullNameHelp" placeholder="Enter your fullname" value="<?php echo $row22['name'] ; ?> ">
  316. <small id="fullNameHelp" class="form-text text-muted">Your name may appear around here where you are mentioned. You can change or remove it at any time.</small>
  317. </div>
  318.  
  319. <div class="form-group">
  320. <label for="bio">Your Bio</label>
  321. <textarea class="form-control autosize" id="bio" name = "bio"placeholder="Write something about you" style="overflow: hidden; overflow-wrap: break-word; resize: none; height: 62px;" ><?php echo $row22['bio'] ; ?></textarea>
  322. </div>
  323. <div class="form-group">
  324. <label for="url">DOB</label>
  325. <input type="text" class="form-control" id="DOB" name = "DOB" placeholder="Enter your Date Of Birth" value="<?php echo $row22['birthdate'] ; ?>">
  326. </div>
  327. <div class="form-group">
  328. <label for="location">Location</label>
  329. <input type="text" class="form-control" id="location" name = "location" placeholder="Enter your location" value="<?php echo $row22['location'] ; ?>">
  330. </div>
  331.  
  332.  
  333.  
  334. <div class="form-group">
  335. <label for="location">Subscriptions Price</label>
  336. £<input type="text" class="form-control" id="sub" name = "sub" placeholder="Enter your location" value="<?php echo $row22['price'] ; ?>">
  337. </div>
  338.  
  339.  
  340. <div class="form-group small text-muted">
  341. All of the fields on this page are optional and can be deleted at any time, and by filling them out, you're giving us consent to share this data wherever your user profile appears.
  342. </div>
  343. <input type="submit" value="Submit" button type="button" class="btn btn-primary">
  344.  
  345. <button type="reset" class="btn btn-light">Reset Changes</button>
  346. </form>
  347. </div>
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354. <br> </br>
  355. <br> </br>
  356. <br> </br>
  357.  
  358. <br> </br>
  359. <br> </br>
  360. <br> </br>
  361.  
  362.  
  363.  
  364.  
  365. <div class="tab-pane" id="account">
  366. <h6>ACCOUNT SETTINGS</h6>
  367. <hr>
  368. <form action="" method="POST">
  369. <div class="form-group">
  370. <label for="username">Username</label>
  371. <input type="text" class="form-control" id="username" name="username" aria-describedby="usernameHelp" placeholder="Enter your username" value="<?php echo $row22['username'] ; ?>">
  372. <small id="usernameHelp" class="form-text text-muted">After changing your username, your old username becomes available for anyone else to claim.</small>
  373. </div>
  374. <hr>
  375. <div class="form-group">
  376. <label class="d-block text-danger">Delete Account</label>
  377. <p class="text-muted font-size-sm">Once you delete your account, there is no going back. Please be certain.</p>
  378. </div>
  379. <input type="submit" value="Submit" button type="button" class="btn btn-primary">
  380. <button class="btn btn-danger" type="button">Delete Account</button>
  381. </form>
  382. </div>
  383.  
  384.  
  385.  
  386.  
  387.  
  388. <br> </br>
  389. <br> </br>
  390. <br> </br>
  391.  
  392.  
  393. <div class="tab-pane" id="security">
  394. <h6>SECURITY SETTINGS</h6>
  395. <hr>
  396. <form action="" method="POST">
  397. <div class="form-group">
  398. <label class="d-block">Change Password</label>
  399. <input type="password" name = "oldpass" id = "oldpass" class="form-control" placeholder="Enter your old password">
  400. <input type="password" name = "newpass" id = "newpass" class="form-control mt-1" placeholder="New password">
  401. <input type="password" name = "newpass1" id = "newpass1" class="form-control-1" placeholder="Confirm new password">
  402. <input type="submit" value="Submit" button type="button" class="btn btn-primary">
  403. </div>
  404. </form>
  405. <br> </br>
  406. <hr>
  407. <form>
  408. <div class="form-group">
  409. <label class="d-block">Two Factor Authentication</label>
  410. <button class="btn btn-info" type="button">Enable two-factor authentication</button>
  411. <p class="small text-muted mt-2">Two-factor authentication adds an additional layer of security to your account by requiring more than just a password to log in.</p>
  412. </div>
  413. </form>
  414. <hr>
  415. <form>
  416. <div class="form-group mb-0">
  417. <label class="d-block">Sessions</label>
  418. <p class="font-size-sm text-secondary">This is a list of devices that have logged into your account. Revoke any sessions that you do not recognize.</p>
  419. <ul class="list-group list-group-sm">
  420. <li class="list-group-item has-icon">
  421. <div>
  422. <h6 class="mb-0">San Francisco City 190.24.335.55</h6>
  423. <small class="text-muted">Your current session seen in United States</small>
  424. </div>
  425. <button class="btn btn-light btn-sm ml-auto" type="button">More info</button>
  426. </li>
  427. </ul>
  428. </div>
  429.  
  430. </form>
  431. </div>
  432. <div class="tab-pane" id="notification">
  433. <h6>NOTIFICATION SETTINGS</h6>
  434. <hr>
  435. <form>
  436. <div class="form-group">
  437. <label class="d-block mb-0">Security Alerts</label>
  438. <div class="small text-muted mb-3">Receive security alert notifications via email</div>
  439. <div class="custom-control custom-checkbox">
  440. <input type="checkbox" class="custom-control-input" id="customCheck1" checked="">
  441. <label class="custom-control-label" for="customCheck1">Email each time a vulnerability is found</label>
  442. </div>
  443. <div class="custom-control custom-checkbox">
  444. <input type="checkbox" class="custom-control-input" id="customCheck2" checked="">
  445. <label class="custom-control-label" for="customCheck2">Email a digest summary of vulnerability</label>
  446. </div>
  447. </div>
  448. <div class="form-group mb-0">
  449. <label class="d-block">SMS Notifications</label>
  450. <ul class="list-group list-group-sm">
  451. <li class="list-group-item has-icon">
  452. Comments
  453. <div class="custom-control custom-control-nolabel custom-switch ml-auto">
  454. <input type="checkbox" class="custom-control-input" id="customSwitch1" checked="">
  455. <label class="custom-control-label" for="customSwitch1"></label>
  456. </div>
  457. </li>
  458. <li class="list-group-item has-icon">
  459. Updates From People
  460. <div class="custom-control custom-control-nolabel custom-switch ml-auto">
  461. <input type="checkbox" class="custom-control-input" id="customSwitch2">
  462. <label class="custom-control-label" for="customSwitch2"></label>
  463. </div>
  464. </li>
  465. <li class="list-group-item has-icon">
  466. Reminders
  467. <div class="custom-control custom-control-nolabel custom-switch ml-auto">
  468. <input type="checkbox" class="custom-control-input" id="customSwitch3" checked="">
  469. <label class="custom-control-label" for="customSwitch3"></label>
  470. </div>
  471. </li>
  472. <li class="list-group-item has-icon">
  473. Events
  474. <div class="custom-control custom-control-nolabel custom-switch ml-auto">
  475. <input type="checkbox" class="custom-control-input" id="customSwitch4" checked="">
  476. <label class="custom-control-label" for="customSwitch4"></label>
  477. </div>
  478. </li>
  479. <li class="list-group-item has-icon">
  480. Pages You Follow
  481. <div class="custom-control custom-control-nolabel custom-switch ml-auto">
  482. <input type="checkbox" class="custom-control-input" id="customSwitch5">
  483. <label class="custom-control-label" for="customSwitch5"></label>
  484. </div>
  485. </li>
  486. </ul>
  487. </div>
  488. </form>
  489. </div>
  490. <div class="tab-pane" id="billing">
  491. <h6>BILLING SETTINGS</h6>
  492. <hr>
  493. <form>
  494. <div class="form-group">
  495. <label class="d-block mb-0">Payment Method</label>
  496. <div class="small text-muted mb-3">You have not added a payment method</div>
  497. <button class="btn btn-info" type="button">Add Payment Method</button>
  498. </div>
  499. <div class="form-group mb-0">
  500. <label class="d-block">Payment History</label>
  501. <div class="border border-gray-500 bg-gray-200 p-3 text-center font-size-sm">You have not made any payment.</div>
  502. </div>
  503. </form>
  504. </div>
  505. </div>
  506. </div>
  507. </div>
  508. </div>
  509.  
  510. </div>
  511.  
  512.  
  513. <?php // end ?>
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523. </div>
  524. <!--=====================================-->
  525. <!--= Footer Area Start =-->
  526. <!--=====================================-->
  527. <?php
  528. include 'sectionsin/footer.php';
  529. ?>
  530.  
  531.  
  532. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement