Changeset 958136
- Timestamp:
- 07/31/2014 03:05:41 PM (12 years ago)
- Location:
- emarksheet
- Files:
-
- 4 edited
- 11 copied
-
tags/1.31 (copied) (copied from emarksheet/trunk)
-
tags/1.31/emarksheet.php (copied) (copied from emarksheet/trunk/emarksheet.php) (1 diff)
-
tags/1.31/install-script.php (copied) (copied from emarksheet/trunk/install-script.php)
-
tags/1.31/lordlinus_marksheet_shortcode.php (copied) (copied from emarksheet/trunk/lordlinus_marksheet_shortcode.php) (1 diff)
-
tags/1.31/menu-pages/emark_add_marks.php (copied) (copied from emarksheet/trunk/menu-pages/emark_add_marks.php)
-
tags/1.31/menu-pages/emark_add_sub.php (copied) (copied from emarksheet/trunk/menu-pages/emark_add_sub.php)
-
tags/1.31/menu-pages/help.php (copied) (copied from emarksheet/trunk/menu-pages/help.php)
-
tags/1.31/menu-pages/print.php (copied) (copied from emarksheet/trunk/menu-pages/print.php) (1 diff)
-
tags/1.31/menu-pages/uninstall.php (copied) (copied from emarksheet/trunk/menu-pages/uninstall.php)
-
tags/1.31/readme.txt (copied) (copied from emarksheet/trunk/readme.txt) (2 diffs)
-
tags/1.31/screenshot-9.png (copied) (copied from emarksheet/trunk/screenshot-9.png)
-
trunk/emarksheet.php (modified) (1 diff)
-
trunk/lordlinus_marksheet_shortcode.php (modified) (1 diff)
-
trunk/menu-pages/print.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
emarksheet/tags/1.31/emarksheet.php
r958028 r958136 5 5 Description: This is a simple and unique wordpress plugin to create a simple marksheet using wordpress. You can also give a link to your users to see the result and print it. 6 6 Author: rohitashv 7 Version: 1.3 7 Version: 1.31 8 8 Author URI: http://eexamhall.com/ 9 9 */ -
emarksheet/tags/1.31/lordlinus_marksheet_shortcode.php
r958028 r958136 112 112 echo "</table>"; 113 113 echo "<h4><center>Results</center></h4>"; 114 $per = $om_total/$tm_total*100; 115 $per = round($per,2); 114 if($tm_total != '0') 115 { 116 $per = $om_total/$tm_total*100; 117 $per = round($per,2); 116 118 117 $req_per = $mm_total/$tm_total*100; 118 $req_per = round($req_per,2); 119 if($fail2 == '1') 120 $div = "Fail"; 121 elseif($per>=60 && $per<=100) 122 $div = "First Division"; 123 elseif($per<=60 && $per>=50) 124 $div = "Second Division"; 125 elseif($per<=50 && $per>=$req_per) 126 $div = "Third Division"; 127 else 128 $div = "Fail"; 129 echo "<table class='table' border='1' style='width:100%;'><tr><th>Percentage : </th><td> $per %</td><th>Minimum Passing Percentage : </th><td> $req_per % </td><th>Final Result : </th><td> $div </td></table>"; 130 echo "</div>"; 119 $req_per = $mm_total/$tm_total*100; 120 $req_per = round($req_per,2); 121 if($fail2 == '1') 122 $div = "Fail"; 123 elseif($per>=60 && $per<=100) 124 $div = "First Division"; 125 elseif($per<=60 && $per>=50) 126 $div = "Second Division"; 127 elseif($per<=50 && $per>=$req_per) 128 $div = "Third Division"; 129 else 130 $div = "Fail"; 131 echo "<table class='table' border='1' style='width:100%;'><tr><th>Percentage : </th><td> $per %</td><th>Minimum Passing Percentage : </th><td> $req_per % </td><th>Final Result : </th><td> $div </td></table>"; 132 echo "</div>"; 133 131 134 ?> 132 135 <input type="button" class="btn btn-info" value="Print This Marksheet !!!" onclick="print_this();"> 133 136 <?php 134 } 137 } 138 else 139 { 140 echo "<div class='alert_lor alert-error-lord'>Please Add Marks to the subjects </div>"; 141 } 142 } 135 143 else 136 144 { -
emarksheet/tags/1.31/menu-pages/print.php
r958028 r958136 90 90 echo "</table>"; 91 91 echo "<h4><center>Results</center></h4>"; 92 $per = $om_total/$tm_total*100; 93 $per = round($per,2); 92 if($tm_total != '0') 93 { 94 $per = $om_total/$tm_total*100; 95 $per = round($per,2); 94 96 95 $req_per = $mm_total/$tm_total*100; 96 $req_per = round($req_per,2); 97 if($fail2 == '1') 98 $div = "Fail"; 99 elseif($per>=60 && $per<=100) 100 $div = "First Division"; 101 elseif($per<=60 && $per>=50) 102 $div = "Second Division"; 103 elseif($per<=50 && $per>=$req_per) 104 $div = "Third Division"; 105 else 106 $div = "Fail"; 107 echo "<table class='table' border='1' style='width:100%;'><tr><th>Percentage : </th><td> $per %</td><th>Minimum Passing Percentage : </th><td> $req_per % </td><th>Final Result : </th><td> $div </td></table>"; 108 echo "</div>"; 97 $req_per = $mm_total/$tm_total*100; 98 $req_per = round($req_per,2); 99 if($fail2 == '1') 100 $div = "Fail"; 101 elseif($per>=60 && $per<=100) 102 $div = "First Division"; 103 elseif($per<=60 && $per>=50) 104 $div = "Second Division"; 105 elseif($per<=50 && $per>=$req_per) 106 $div = "Third Division"; 107 else 108 $div = "Fail"; 109 echo "<table class='table' border='1' style='width:100%;'><tr><th>Percentage : </th><td> $per %</td><th>Minimum Passing Percentage : </th><td> $req_per % </td><th>Final Result : </th><td> $div </td></table>"; 110 echo "</div>"; 111 109 112 ?> 110 113 <input type="button" class="btn btn-info" value="Print This Marksheet !!!" onclick="print_this();"> 111 114 <?php 115 } 116 else 117 { 118 echo "<div class='alert alert-error'>Please Add Marks to the subjects </div>"; 119 } 112 120 } 113 121 else if(isset($_POST['get_st_lt'])) -
emarksheet/tags/1.31/readme.txt
r958028 r958136 4 4 Tags: emarksheet, online marksheet creator, create marksheet online, online marksheet 5 5 Requires at least: 3.2 6 Stable tag: 1.3 6 Stable tag: 1.31 7 7 8 8 This is a simple and unique wordpress plugin to create a simple marksheet using wordpress. You can also give a link to your users to see the result and print it. … … 63 63 and you can minimum passing marks on each Subject 64 64 Uninstall feature is also available 65 66 =1.31= 67 minor bug resolved -
emarksheet/trunk/emarksheet.php
r958028 r958136 5 5 Description: This is a simple and unique wordpress plugin to create a simple marksheet using wordpress. You can also give a link to your users to see the result and print it. 6 6 Author: rohitashv 7 Version: 1.3 7 Version: 1.31 8 8 Author URI: http://eexamhall.com/ 9 9 */ -
emarksheet/trunk/lordlinus_marksheet_shortcode.php
r958028 r958136 112 112 echo "</table>"; 113 113 echo "<h4><center>Results</center></h4>"; 114 $per = $om_total/$tm_total*100; 115 $per = round($per,2); 114 if($tm_total != '0') 115 { 116 $per = $om_total/$tm_total*100; 117 $per = round($per,2); 116 118 117 $req_per = $mm_total/$tm_total*100; 118 $req_per = round($req_per,2); 119 if($fail2 == '1') 120 $div = "Fail"; 121 elseif($per>=60 && $per<=100) 122 $div = "First Division"; 123 elseif($per<=60 && $per>=50) 124 $div = "Second Division"; 125 elseif($per<=50 && $per>=$req_per) 126 $div = "Third Division"; 127 else 128 $div = "Fail"; 129 echo "<table class='table' border='1' style='width:100%;'><tr><th>Percentage : </th><td> $per %</td><th>Minimum Passing Percentage : </th><td> $req_per % </td><th>Final Result : </th><td> $div </td></table>"; 130 echo "</div>"; 119 $req_per = $mm_total/$tm_total*100; 120 $req_per = round($req_per,2); 121 if($fail2 == '1') 122 $div = "Fail"; 123 elseif($per>=60 && $per<=100) 124 $div = "First Division"; 125 elseif($per<=60 && $per>=50) 126 $div = "Second Division"; 127 elseif($per<=50 && $per>=$req_per) 128 $div = "Third Division"; 129 else 130 $div = "Fail"; 131 echo "<table class='table' border='1' style='width:100%;'><tr><th>Percentage : </th><td> $per %</td><th>Minimum Passing Percentage : </th><td> $req_per % </td><th>Final Result : </th><td> $div </td></table>"; 132 echo "</div>"; 133 131 134 ?> 132 135 <input type="button" class="btn btn-info" value="Print This Marksheet !!!" onclick="print_this();"> 133 136 <?php 134 } 137 } 138 else 139 { 140 echo "<div class='alert_lor alert-error-lord'>Please Add Marks to the subjects </div>"; 141 } 142 } 135 143 else 136 144 { -
emarksheet/trunk/menu-pages/print.php
r958028 r958136 90 90 echo "</table>"; 91 91 echo "<h4><center>Results</center></h4>"; 92 $per = $om_total/$tm_total*100; 93 $per = round($per,2); 92 if($tm_total != '0') 93 { 94 $per = $om_total/$tm_total*100; 95 $per = round($per,2); 94 96 95 $req_per = $mm_total/$tm_total*100; 96 $req_per = round($req_per,2); 97 if($fail2 == '1') 98 $div = "Fail"; 99 elseif($per>=60 && $per<=100) 100 $div = "First Division"; 101 elseif($per<=60 && $per>=50) 102 $div = "Second Division"; 103 elseif($per<=50 && $per>=$req_per) 104 $div = "Third Division"; 105 else 106 $div = "Fail"; 107 echo "<table class='table' border='1' style='width:100%;'><tr><th>Percentage : </th><td> $per %</td><th>Minimum Passing Percentage : </th><td> $req_per % </td><th>Final Result : </th><td> $div </td></table>"; 108 echo "</div>"; 97 $req_per = $mm_total/$tm_total*100; 98 $req_per = round($req_per,2); 99 if($fail2 == '1') 100 $div = "Fail"; 101 elseif($per>=60 && $per<=100) 102 $div = "First Division"; 103 elseif($per<=60 && $per>=50) 104 $div = "Second Division"; 105 elseif($per<=50 && $per>=$req_per) 106 $div = "Third Division"; 107 else 108 $div = "Fail"; 109 echo "<table class='table' border='1' style='width:100%;'><tr><th>Percentage : </th><td> $per %</td><th>Minimum Passing Percentage : </th><td> $req_per % </td><th>Final Result : </th><td> $div </td></table>"; 110 echo "</div>"; 111 109 112 ?> 110 113 <input type="button" class="btn btn-info" value="Print This Marksheet !!!" onclick="print_this();"> 111 114 <?php 115 } 116 else 117 { 118 echo "<div class='alert alert-error'>Please Add Marks to the subjects </div>"; 119 } 112 120 } 113 121 else if(isset($_POST['get_st_lt'])) -
emarksheet/trunk/readme.txt
r958028 r958136 4 4 Tags: emarksheet, online marksheet creator, create marksheet online, online marksheet 5 5 Requires at least: 3.2 6 Stable tag: 1.3 6 Stable tag: 1.31 7 7 8 8 This is a simple and unique wordpress plugin to create a simple marksheet using wordpress. You can also give a link to your users to see the result and print it. … … 63 63 and you can minimum passing marks on each Subject 64 64 Uninstall feature is also available 65 66 =1.31= 67 minor bug resolved
Note: See TracChangeset
for help on using the changeset viewer.