├── .gitattributes ├── README.md ├── index.php └── src ├── CPU.php ├── features.html ├── footer.php ├── header.php ├── img └── 2.png ├── incloud.php ├── logos ├── group-icon.php └── logo.php ├── main.php ├── navbar.php ├── pricing.html └── style.css /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # [solidow](http://localhost/solidow-end-main/index.php) 2 | 🚫 3 | 4 | you have to [download](https://github.com/Ahmed-Aoulad-Amar/solidow-end/archive/refs/heads/main.zip) this project and put it inside the htdocs file in the php (MAMP) server and come back # [clike here](http://localhost/solidow-end-main/index.php) and you r ready to go! 5 | 6 | ✅ 7 | 8 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 |
17 |
18 | 19 |
20 |
21 | 24 |
25 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/CPU.php: -------------------------------------------------------------------------------- 1 | 2 | 20 | #tranche2{ 21 | display: none; 22 | } 23 | "; 24 | 25 | if (isset ( $_POST["submit"])) { 26 | 27 | $NouvelI = $_POST["NI"]; 28 | $AncienI = $_POST["AI"]; 29 | $calibre = $_POST["calibre"]; 30 | $consomation = $NouvelI - $AncienI; 31 | 32 | $TVA = 0.14 ; 33 | $timbre = 0.45; 34 | $numtranche; 35 | $calibre = $_POST["calibre"]; 36 | $tranche1 = 0.794; 37 | $tranche2 = 0.883; 38 | $tranche3 = 0.9451; 39 | $tranche4 = 1.0489; 40 | $tranche5 = 1.2915; 41 | $tranche6 = 1.4975; 42 | 43 | 44 | //tranche 1 (0-100kwh) 45 | if ($consomation <= 100){ 46 | 47 | 48 | 49 | $tarif = 0.794; 50 | $tranche = $consomation * $tranche1; 51 | $MontantHT = $tranche + $calibre; 52 | $Total_TVA = $tranche * $TVA ; 53 | $redevnce = $calibre * $TVA; 54 | $Taxes = $redevnce + $Total_TVA; 55 | $sous_total = $Taxes + $timbre; 56 | $total = $MontantHT + $sous_total; 57 | $numtranche = 1; 58 | echo ""; 63 | } 64 | //tranche 2 (101-150kwh) 65 | if ($consomation <=150 && $consomation >= 101){ 66 | 67 | echo ""; 72 | 73 | $tarif = 0.794; 74 | $tarif2 = 0.883; 75 | $tra = 100; 76 | $B = $consomation - 100 ; 77 | 78 | $tranche = 100 * $tranche1; 79 | $demo = $B * $tranche2; 80 | 81 | $Total_TVA = $tranche * $TVA ; 82 | $Total_TVA2 = $demo * $TVA; 83 | 84 | $redevnce = $calibre * $TVA; 85 | $Taxes = $redevnce + $Total_TVA + $Total_TVA2; 86 | $sous_total = $Taxes + $timbre; 87 | $MontantHT = $tranche + $demo + $calibre; 88 | $total = $MontantHT + $sous_total; 89 | $numtranche = 1; 90 | 91 | 92 | 93 | // echo ($consomation -100) * $tranche2 + $demo; 94 | } 95 | //tranche 3 (151-210kwh) 96 | if ($consomation <= 210 && $consomation >= 151){ 97 | 98 | $tarif = 0.9451; 99 | $tranche = $consomation * $tranche3; 100 | $MontantHT = $tranche + $calibre; 101 | $Total_TVA = $tranche * $TVA ; 102 | $redevnce = $calibre * $TVA; 103 | $Taxes = $redevnce + $Total_TVA; 104 | $sous_total = $Taxes + $timbre; 105 | 106 | $total = $MontantHT + $sous_total; 107 | $numtranche = 3; 108 | echo ""; 113 | 114 | } 115 | //tranche 4 (211-310kwh) 116 | if ($consomation <= 310 && $consomation >= 211){ 117 | 118 | $tarif = 0.0489; 119 | $tranche = $consomation * $tranche4; 120 | $MontantHT = $tranche + $calibre; 121 | $Total_TVA = $tranche * $TVA ; 122 | $redevnce = $calibre * $TVA; 123 | $Taxes = $redevnce + $Total_TVA; 124 | $sous_total = $Taxes + $timbre; 125 | 126 | $total = $MontantHT + $sous_total; 127 | $numtranche = 4; 128 | echo ""; 133 | } 134 | //tranche 5 (311-510kwh) 135 | if ( $consomation <= 510 && $consomation >= 311){ 136 | 137 | $tarif = 1.2915; 138 | $tranche = $consomation * $tranche5; 139 | $MontantHT = $tranche + $calibre; 140 | $Total_TVA = $tranche * $TVA ; 141 | $redevnce = $calibre * $TVA; 142 | $Taxes = $redevnce + $Total_TVA; 143 | $sous_total = $Taxes + $timbre; 144 | 145 | $total = $MontantHT + $sous_total; 146 | $numtranche = 5; 147 | echo ""; 152 | } 153 | //tranche 6 (>511kwh) 154 | if ($consomation >= 511 ){ 155 | 156 | $tarif = 1.4975; 157 | $tranche = $consomation * $tranche6; 158 | $MontantHT = $tranche + $calibre; 159 | $Total_TVA = $tranche * $TVA ; 160 | $redevnce = $calibre * $TVA; 161 | $Taxes = $redevnce + $Total_TVA; 162 | $sous_total = $Taxes + $timbre; 163 | 164 | $total = $MontantHT + $sous_total; 165 | $numtranche = 6; 166 | echo ""; 171 | } 172 | 173 | } 174 | 175 | ?> -------------------------------------------------------------------------------- /src/features.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | undifinde 7 | 8 | 9 | 10 | 181 | 182 | 183 | 184 | 185 | 186 |
187 |
188 |

Hi we are AiRover group this paje has same :
404 error

189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 199 | 200 | 202 | 204 | 205 | 207 | 209 | 211 | 213 | 216 | 218 | 220 | 222 | 224 | 226 | 228 | 231 | 232 | 233 | 234 | 235 | 238 | 239 | 240 | 241 | 242 | 243 | 245 | 246 | 248 | 250 | 252 | 254 | 256 | 257 | 259 | 261 | 262 | 263 | 264 | 265 | 268 | 269 | 270 | 271 | 272 | 273 | 276 | 277 | 278 | 279 |
280 | 283 |

ahmed

284 | 285 |
286 |
287 |
288 | 301 | 302 | 303 | -------------------------------------------------------------------------------- /src/footer.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
12 | 13 |
14 |
15 |
16 |
17 |
18 | 19 | SoliDao 20 |
21 |

22 | hii we are the and we are happy to solve your daylys's problems it's our pation 23 |

24 |
25 |
26 |
citys
27 |

tanger

28 |

tiowan

29 |

housima

30 |

agadir

31 |
32 |
33 |
34 | Useful links
35 |

Amandis

36 |

Branche Electricte

37 |

the world Bank

38 |

Help

39 |
40 |
41 |
42 | Contact 43 |
44 |

tanger, NY 9200, ourghagl 3

45 |

46 | 47 | solidoi@gmail.com 48 |

49 |

05 23 23 44 44

50 |

06 16 17 21 17

51 |
52 |
53 |
54 |
55 |
56 | © 2021 Copyright: Creat by the group 57 |
58 | 59 | 60 | -------------------------------------------------------------------------------- /src/header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 |
10 | 11 |
12 | 13 | 14 | 15 |
16 |
17 | 18 | 19 |
20 | 21 |
22 | 23 | 24 |
25 |
26 | 27 | 28 |
29 | 30 |
31 | 32 | 33 |
34 | 35 |
36 | 37 | 38 |
39 |
40 | 41 | 42 | 43 |
44 | 45 | 46 | 47 | 48 | 49 |
50 | 51 | 52 |
-------------------------------------------------------------------------------- /src/img/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-dev-dragon/solidow-end/0789fc1ebe1ab7d9906fc7f1e126b9b0fb9a178a/src/img/2.png -------------------------------------------------------------------------------- /src/incloud.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | solidow 8 | -------------------------------------------------------------------------------- /src/logos/group-icon.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/logos/logo.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/main.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
ancien index : nouvel index : consommtion :
12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 |
مفوترس.والمبلغ د.إ.رض.ق.ممبلغ الرسوم
FacturéP.UMontant HTTaux TVAMontant Taxes
43 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |
CONSOMMATION ELECTRICITEإستھلاك الكھرباء
58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 71 | 79 | 80 | 83 | 84 | 87 | 88 | 94 | 95 | 96 | 97 | 98 | 99 |
tranche =3) 66 | { echo $numtranche; 67 | } 68 | else { echo $key+1; } 69 | ?>   70 | 72 | = 101){ 73 | echo round($tra,2) ; 74 | } 75 | else { 76 | echo round($consomation,2); 77 | } ?> 78 | 81 | 82 | 14% 85 | 86 | 89 | =3) { 90 | echo $numtranche;} 91 | else { echo $key+1; } 92 | ?> 93 | الشطر
100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 113 | 114 | 115 | 116 | 119 | 120 | 121 | 122 | 123 | 124 | 125 |
REDEVANCE FIXE ELECTRICITE             111 | 112 |      14%       117 | 118 | إثاوة ثابتة الكھرباءباء
126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 |
TAXES POUR LE COMPTE DE L’ETATالرسوم المؤداة لفائد الدولة
137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 151 | 152 | 153 | 154 |
TOTAL TVA                   149 | 150 | مجموع ض.ق.م
155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 |
TIMBRE0,45 dhالطابع
174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 186 | 187 | 190 | 191 | 192 | 193 | 194 | 195 |
SOUS-TOTAL 184 | 185 | 188 | 189 | المجموع الجزي
196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 209 | 210 | 211 | 212 | 213 | 214 | 215 |
TOTAL ÉLECTRICITÉ 207 | 208 | مجموع الكھرباء
216 | 217 | 218 | 219 | 220 | 221 | -------------------------------------------------------------------------------- /src/navbar.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 64 | 65 | -------------------------------------------------------------------------------- /src/pricing.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | pricing 9 | 10 | 11 | 13 | 14 | 15 | 16 |
17 | 32 |
33 |
34 | 35 |

36 | Our service is basically based on helping clients to know the system 37 | of facturation and it relationship with tarifs to know more about 38 | consommation and pricings 39 |

40 |
41 |
42 | 43 |
44 |
45 | 46 | 108 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /src/style.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | *{ 4 | 5 | padding: 0; 6 | margin: 0; 7 | 8 | } 9 | button.print-button { 10 | width: 100px; 11 | height: 100px; 12 | } 13 | span.print-icon, span.print-icon::before, span.print-icon::after, button.print-button:hover .print-icon::after { 14 | border: solid 4px #0072fd; 15 | } 16 | span.print-icon::after { 17 | border-width: 2px; 18 | } 19 | 20 | button.print-button { 21 | position: relative; 22 | padding: 0; 23 | border: 0; 24 | 25 | border: none; 26 | background: transparent; 27 | } 28 | 29 | span.print-icon, span.print-icon::before, span.print-icon::after, button.print-button:hover .print-icon::after { 30 | box-sizing: border-box; 31 | background-color: #fff; 32 | } 33 | 34 | span.print-icon { 35 | position: relative; 36 | display: inline-block; 37 | padding: 0; 38 | margin-top: 20%; 39 | 40 | width: 60%; 41 | height: 35%; 42 | background: #fff; 43 | border-radius: 20% 20% 0 0; 44 | } 45 | 46 | span.print-icon::before { 47 | content: " "; 48 | position: absolute; 49 | bottom: 100%; 50 | left: 12%; 51 | right: 12%; 52 | height: 110%; 53 | 54 | transition: height .2s .15s; 55 | } 56 | 57 | span.print-icon::after { 58 | content: " "; 59 | position: absolute; 60 | top: 55%; 61 | left: 12%; 62 | right: 12%; 63 | height: 0%; 64 | background: #fff; 65 | background-repeat: no-repeat; 66 | background-size: 70% 90%; 67 | background-position: center; 68 | background-image: linear-gradient( 69 | to top, 70 | #fff 0, #fff 14%, 71 | #2E89FB 14%, #034c8b 28%, 72 | #fff 28%, #fff 42%, 73 | #2E89FB 42%, #2E89FB 56%, 74 | #fff 56%, #fff 70%, 75 | #2E89FB 70%, #2E89FB 84%, 76 | #fff 84%, #fff 100% 77 | ); 78 | 79 | transition: height .2s, border-width 0s .2s, width 0s .2s; 80 | } 81 | 82 | button.print-button:hover { 83 | cursor: pointer; 84 | } 85 | 86 | button.print-button:hover .print-icon::before { 87 | height:0px; 88 | transition: height .2s; 89 | } 90 | button.print-button:hover .print-icon::after { 91 | height:120%; 92 | transition: height .2s .15s, border-width 0s .16s; 93 | } 94 | 95 | 96 | @media print { 97 | *{ 98 | font-size: 13px; 99 | 100 | } 101 | header, article, footer{ 102 | display: none; 103 | } 104 | main{ 105 | margin-top: 25vh; 106 | border: 10px; 107 | } 108 | #tranche2{ 109 | display: none; 110 | } 111 | 112 | } 113 | 114 | --------------------------------------------------------------------------------