This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| require_once 'app.php'; | |
| $app = new App; | |
| if ( isset($_POST['email'], $_POST['password']) ) { | |
| $email = $_POST['email']; | |
| $password = $_POST['password']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| session_start(); | |
| /** | |
| * App | |
| */ | |
| class App | |
| { | |
| protected $db; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "bold_folder_labels": true, | |
| "caret_style": "solid", | |
| "color_scheme": "Packages/Theme - Hero/Hero Dark Eighties.tmTheme", | |
| "enable_tab_scrolling": false, | |
| "fade_fold_button": false, | |
| "font_face": "Ubuntu mono", | |
| "font_size": 13, | |
| "hightlight_line": true, | |
| "ignored_packages": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Orient Logistics - English Invoice</title> | |
| <!-- Bootstrap CSS --> | |
| <link href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Orient Logistics - Arabic Invoice</title> | |
| <!-- Bootstrap CSS --> | |
| <link href="assets/bootstrap.min.css" rel="stylesheet"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>Orient Logistics - English Invoice</title> | |
| <!-- Bootstrap CSS --> | |
| <link href="assets/bootstrap.min.css" rel="stylesheet"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var nw = require('nw.gui'); | |
| var win = nw.Window.get(); | |
| $(function() { | |
| $('#prntbtn').click(function() { | |
| $('.prnthide').hide(); | |
| window.print(); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //////////////// | |
| // Semaphores // | |
| //////////////// | |
| /** | |
| * Define semaphores | |
| */ | |
| sem_t a, b, c; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //////////////////// | |
| // Thread pthread // | |
| //////////////////// | |
| /** | |
| * Define a thread | |
| */ | |
| pthread_t thread; | |
| /** | |
| * Create a thread | |
| * if( pthread_create != 0) return err; |