Test Failed
Pull Request — master (#61)
by
unknown
02:25
created
views/account.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
                     <div class="boxx" >
60 60
 
61 61
                         <div class="pic">
62
-                            <img src="<?php echo !empty($row["pic"]) ? $row["pic"] : '../../public/assests/img/ankit.png';?>">
62
+                            <img src="<?php echo !empty($row["pic"]) ? $row["pic"] : '../../public/assests/img/ankit.png'; ?>">
63 63
                         </div>
64 64
 
65 65
                         <div class="brief">
Please login to merge, or discard this patch.
views/profile_generate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@
 block discarded – undo
23 23
         $edu = get($_POST['education'], $data['education']);
24 24
         $gender = get($_POST['gender'], $data['gender']);
25 25
         
26
-        if(!empty($_FILES["userpic"]["tmp_name"])){
26
+        if (!empty($_FILES["userpic"]["tmp_name"])) {
27 27
             
28 28
             $path = $_FILES["userpic"]["tmp_name"];
29 29
             $type = pathinfo($path, PATHINFO_EXTENSION);
30 30
             $data = file_get_contents($path);
31
-            $base64pic = 'data:image/' . $type . ';base64,' . base64_encode($data);
31
+            $base64pic = 'data:image/'.$type.';base64,'.base64_encode($data);
32 32
           
33 33
             $pic = get($base64pic, $data['pic']);
34 34
         }
Please login to merge, or discard this patch.
views/message.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
   <script src="../public/assests/js/bootstrap.min.js"></script>
26 26
   <?php 
27 27
   $userId = Session::get('start');
28
-  $data = Profile::getProfile($userId);?>
29
-  <script type="text/javascript" src="../public/assests/js/message.js" id="heading-avatar" data-src="<?php echo !empty($data["pic"]) ? $data["pic"] : '../../public/assests/img/ankit.png';?>"></script>
28
+  $data = Profile::getProfile($userId); ?>
29
+  <script type="text/javascript" src="../public/assests/js/message.js" id="heading-avatar" data-src="<?php echo !empty($data["pic"]) ? $data["pic"] : '../../public/assests/img/ankit.png'; ?>"></script>
30 30
 </head>
31 31
 <body>
32 32
 
Please login to merge, or discard this patch.