├── Boostrap └── Boostrap E-commerce Page Example │ ├── css │ └── style.css │ ├── image │ ├── Geometrical-Salt-Lamps.jpg │ ├── Himalayan-Salt-Lamp-Bowl.jpg │ ├── Lamp-Banner.jpg │ ├── Medium-Globe-Himalayan-Salt-Lamp.jpg │ ├── Pyramid_Salt_Lamp_1024x1024.jpg │ ├── arrey_1.jpg │ ├── cubed-salt-lamp.jpg │ └── leaf_salt_lamp.jpg │ └── index.html ├── PHP └── login │ ├── db.php │ ├── functions.php │ ├── index.php │ ├── login.php │ ├── logout.php │ └── md5.php ├── custometheme ├── footer.php ├── functions.php ├── header.php ├── index.php ├── sidebar.php └── style.css ├── design ├── css │ └── style.css ├── images │ ├── Himalayan-Salt-Lamp-Bowl.jpg │ ├── Medium-Globe-Himalayan-Salt-Lamp.jpg │ ├── Pyramid_Salt_Lamp_1024x1024.jpg │ ├── arrey_1.jpg │ ├── cubed-salt-lamp.jpg │ ├── leaf_salt_lamp.jpg │ └── slider.jpg └── index.htm ├── forms.html ├── google.jpg ├── html-basic-2.html ├── html-theme ├── index.html └── style.css ├── image.jpg ├── mult-dim-array.php └── table.html /Boostrap/Boostrap E-commerce Page Example/css/style.css: -------------------------------------------------------------------------------- 1 | .container-fluid { 2 | margin-right: auto; 3 | margin-left: auto; 4 | padding:0; 5 | } 6 | .slider-image{ 7 | width:100%; 8 | height:100%; 9 | } 10 | .product-grid{ 11 | text-align:center; 12 | margin-top:15px; 13 | margin-bottom:15px; 14 | 15 | } 16 | .product{ 17 | width:100%; 18 | height:60%; 19 | } -------------------------------------------------------------------------------- /Boostrap/Boostrap E-commerce Page Example/image/Geometrical-Salt-Lamps.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/Boostrap/Boostrap E-commerce Page Example/image/Geometrical-Salt-Lamps.jpg -------------------------------------------------------------------------------- /Boostrap/Boostrap E-commerce Page Example/image/Himalayan-Salt-Lamp-Bowl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/Boostrap/Boostrap E-commerce Page Example/image/Himalayan-Salt-Lamp-Bowl.jpg -------------------------------------------------------------------------------- /Boostrap/Boostrap E-commerce Page Example/image/Lamp-Banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/Boostrap/Boostrap E-commerce Page Example/image/Lamp-Banner.jpg -------------------------------------------------------------------------------- /Boostrap/Boostrap E-commerce Page Example/image/Medium-Globe-Himalayan-Salt-Lamp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/Boostrap/Boostrap E-commerce Page Example/image/Medium-Globe-Himalayan-Salt-Lamp.jpg -------------------------------------------------------------------------------- /Boostrap/Boostrap E-commerce Page Example/image/Pyramid_Salt_Lamp_1024x1024.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/Boostrap/Boostrap E-commerce Page Example/image/Pyramid_Salt_Lamp_1024x1024.jpg -------------------------------------------------------------------------------- /Boostrap/Boostrap E-commerce Page Example/image/arrey_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/Boostrap/Boostrap E-commerce Page Example/image/arrey_1.jpg -------------------------------------------------------------------------------- /Boostrap/Boostrap E-commerce Page Example/image/cubed-salt-lamp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/Boostrap/Boostrap E-commerce Page Example/image/cubed-salt-lamp.jpg -------------------------------------------------------------------------------- /Boostrap/Boostrap E-commerce Page Example/image/leaf_salt_lamp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/Boostrap/Boostrap E-commerce Page Example/image/leaf_salt_lamp.jpg -------------------------------------------------------------------------------- /Boostrap/Boostrap E-commerce Page Example/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Personal Website 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 44 | 45 | 46 |
47 |
48 |
49 | 50 |
51 |
52 | 53 |
54 |
55 |

USB LAMPS

56 |
57 |
58 |
59 |
60 | 61 |

PKR 500

62 |

Bucket Lamp

63 | Buy Now 64 |
65 |
66 | 67 |

PKR 500

68 |

Bucket Lamp

69 | Buy Now 70 |
71 |
72 | 73 |

PKR 500

74 |

Bucket Lamp

75 | Buy Now 76 |
77 |
78 | 79 | 80 |
81 |
82 |

Table LAMPS

83 |
84 |
85 |
86 |
87 | 88 |

PKR 2000

89 |

Bucket Lamp

90 | Buy Now 91 |
92 |
93 | 94 |

PKR 1500

95 |

Bucket Lamp

96 | Buy Now 97 |
98 |
99 | 100 |

PKR 2500 3500

101 |

Bucket Lamp

102 | Buy Now 103 |
104 |
105 | 106 | 107 |
108 |
109 |
110 | 111 |
112 | 113 |
114 |
115 |
116 | 117 |
118 | 119 |
120 |
121 |
122 | 123 |
124 | 125 |
126 |
127 |
128 | 129 |
130 | 131 |
132 |
133 | 134 |
135 | 136 | 137 |
138 |
139 |
140 |
141 | 142 | -------------------------------------------------------------------------------- /PHP/login/db.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PHP/login/functions.php: -------------------------------------------------------------------------------- 1 | connect_error){ 26 | die("Error:".$conn->connect_error); 27 | } 28 | 29 | $SelectQuery="SELECT id FROM users WHERE username='".$usr."' and password='".$pwd."'"; 30 | $result=$conn->query($SelectQuery); 31 | 32 | if(!empty($result) && $result->num_rows>0){ 33 | $row=$result->fetch_assoc(); 34 | if($row['id']>0){ 35 | return true; 36 | } 37 | } 38 | else 39 | return false; 40 | } 41 | 42 | 43 | 44 | 45 | ?> -------------------------------------------------------------------------------- /PHP/login/index.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | Admin Panel Inteface 12 | 13 | 14 |

Welcome to admin panel

15 | Logout 16 | 17 | -------------------------------------------------------------------------------- /PHP/login/login.php: -------------------------------------------------------------------------------- 1 | 20 | 21 | 22 | 23 | Login Form 24 | 25 | 26 |
27 | User Name: 28 |
29 | Password: 30 |
31 | 32 | 33 |
34 | 35 | -------------------------------------------------------------------------------- /PHP/login/logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PHP/login/md5.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /custometheme/footer.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
6 | 7 |
8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /custometheme/functions.php: -------------------------------------------------------------------------------- 1 | esc_html__( 'Sidebar', 'ithemer' ), 8 | 'id' => 'sidebar-1', 9 | 'description' => esc_html__( 'Add widgets here.', 'ithemer' ), 10 | 'before_widget' => '
', 11 | 'after_widget' => '
', 12 | 'before_title' => '

', 13 | 'after_title' => '

', 14 | ) ); 15 | register_sidebar( array( 16 | 'name' => esc_html__( 'Footer', 'ithemer' ), 17 | 'id' => 'footer1', 18 | 'description' => esc_html__( 'Add widgets here.', 'ithemer' ), 19 | 'before_widget' => '
', 20 | 'after_widget' => '
', 21 | 'before_title' => '

', 22 | 'after_title' => '

', 23 | ) ); 24 | } 25 | 26 | add_action( 'widgets_init', 'custometheme_widgets_init' ); 27 | 28 | 29 | ?> -------------------------------------------------------------------------------- /custometheme/header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | How To Convert HTML Template to WordPress Theme - WPExplorer 5 | 6 | 7 | 8 |
9 |
10 |

11 |

12 |

This is header section. Put your logo and other details here.

13 |
14 |
15 | 'menu_order', 'container_class' => 'menu-header' ) ); ?> 16 |
-------------------------------------------------------------------------------- /custometheme/index.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 |
> 6 |
7 |
8 |

9 |
10 |
11 |
12 | 13 | 14 | 15 | 16 |
17 |
18 |
19 |
20 |
21 | 22 | 26 | 27 | 28 |
29 | 30 | -------------------------------------------------------------------------------- /custometheme/sidebar.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /custometheme/style.css: -------------------------------------------------------------------------------- 1 | #wrap{margin: 0 auto; width:95%; margin-top:-10px; height:100%;} 2 | .header{width:99.8%; border:1px solid #999;height:135px;} 3 | .content{width:70%; border:1px solid #999;margin-top:5px;} 4 | .sidebar{float:right; margin-top:-54px;width:29%; border:1px solid #999;} 5 | .footer{width:99.8%;border:1px solid #999;margin-top:10px;} -------------------------------------------------------------------------------- /design/css/style.css: -------------------------------------------------------------------------------- 1 | body{ 2 | font-family:arial; 3 | } 4 | .container{ 5 | text-align:center; 6 | margin-left:150px; 7 | margin-right:150px; 8 | } 9 | 10 | .header{ 11 | text-align:left; 12 | width:100%; 13 | margin-left:35px; 14 | } 15 | 16 | .logo{ 17 | width:30%; 18 | display:table-cell; 19 | } 20 | .menu{ 21 | width:70%; 22 | display:table-cell; 23 | padding-left:200px; 24 | text-transform:uppercase; 25 | font-size:14px; 26 | } 27 | .menu li{ 28 | display:table-cell; 29 | padding-left:10px; 30 | } 31 | .menu li a{ 32 | text-decoration:none; 33 | color:black; 34 | } 35 | .menu li a:hover{ 36 | color:gray; 37 | } 38 | .product_row{ 39 | margin-top:20px; 40 | margin-bottom:20px; 41 | } 42 | .product{ 43 | display:table-cell; 44 | padding-left:70px; 45 | } 46 | .product img{ 47 | width:250px; 48 | } 49 | .product span{ 50 | display:block; 51 | } 52 | .footer{ 53 | background-color:gray; 54 | height:35px; 55 | margin-left:35px; 56 | margin-right:35px; 57 | font-size:12px; 58 | 59 | } 60 | .footer p{ 61 | height:100% !important; 62 | padding-top:9px; 63 | 64 | } -------------------------------------------------------------------------------- /design/images/Himalayan-Salt-Lamp-Bowl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/design/images/Himalayan-Salt-Lamp-Bowl.jpg -------------------------------------------------------------------------------- /design/images/Medium-Globe-Himalayan-Salt-Lamp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/design/images/Medium-Globe-Himalayan-Salt-Lamp.jpg -------------------------------------------------------------------------------- /design/images/Pyramid_Salt_Lamp_1024x1024.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/design/images/Pyramid_Salt_Lamp_1024x1024.jpg -------------------------------------------------------------------------------- /design/images/arrey_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/design/images/arrey_1.jpg -------------------------------------------------------------------------------- /design/images/cubed-salt-lamp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/design/images/cubed-salt-lamp.jpg -------------------------------------------------------------------------------- /design/images/leaf_salt_lamp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/design/images/leaf_salt_lamp.jpg -------------------------------------------------------------------------------- /design/images/slider.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/design/images/slider.jpg -------------------------------------------------------------------------------- /design/index.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Product Page 5 | 6 | 7 | 8 |
9 |
10 | 13 | 20 |
21 | 22 |
23 | 24 |
25 |
26 |

Featured Products

27 |
28 |
29 |
30 | 31 | Salt Lamp
500 PKR1000
32 |
33 |
34 | 35 | Salt Lamp
500 PKR1000
36 |
37 |
38 | 39 | Salt Lamp
500 PKR1000
40 |
41 |
42 |
43 |

New Products

44 |
45 |
46 |
47 | 48 | Salt Lamp
500 PKR1000
49 |
50 |
51 | 52 | Salt Lamp
500 PKR1000
53 |
54 |
55 | 56 | Salt Lamp
500 PKR1000
57 |
58 |
59 | 62 |
63 | 64 | -------------------------------------------------------------------------------- /forms.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Introduction to Forms 6 | 7 | 8 | 9 | 10 | 11 |
12 | First Name:
13 | Last Name:
14 |
15 | 16 |
17 |
18 | 19 |
20 | User Name:
21 | Password :
22 |
23 | 24 |
25 |
26 | 27 |
28 | MultiLine Text: 29 |
30 | 31 | 32 |
33 | Do you like hockey ?
34 | Do you like Cricket ?
35 | Do you like Basket ball ?
36 |
37 | 38 |
39 |
40 | 41 |
42 | Please Select your Gender
43 | Male 44 | Female 45 |
46 | 47 |
48 |
49 | 50 |
51 | Please Select your Education: 52 | 60 |
61 | 62 | 63 |
64 | 65 | 66 |
67 | Date:
68 | Color:
69 | Number:
70 | Range:
71 | Time:
72 |
73 | 74 | 75 | -------------------------------------------------------------------------------- /google.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/google.jpg -------------------------------------------------------------------------------- /html-basic-2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | intro to html and html basics 2 5 | 6 | 7 |

Top

8 |

This is a bold

9 |

This is a Italic

10 |

This is a Under Line

11 |

This is a Strike

12 |

This is a Tele Type

13 |

This is a Superscript Text

14 |

This is a Subscript Text

15 |

This is a Deleted Text

16 |

This is a Larger Text

17 |

This is a Smaller Text

18 | 19 | Technical Class 20 | 21 |

Technical Class

22 |

23 | Technical Class 24 | Technical Class 25 |

26 | 27 |

28 | Technical Class 29 | Technical Class 30 |

31 | 32 |

33 | 34 | google.com 35 | 36 |

37 | 38 |

Goto Top

39 | 40 | -------------------------------------------------------------------------------- /html-theme/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | How To Convert HTML Template to WordPress Theme - WPExplorer 5 | 6 | 7 | 8 |
9 |
10 |

This is header section. Put your logo and other details here.

11 |
12 |
13 |

This is the main content area.

14 |
15 | 18 |
19 |

And this is the footer.

20 |
21 |
22 | 23 | -------------------------------------------------------------------------------- /html-theme/style.css: -------------------------------------------------------------------------------- 1 | #wrap{margin: 0 auto; width:95%; margin-top:-10px; height:100%;} 2 | .header{width:99.8%; border:1px solid #999;height:135px;} 3 | .content{width:70%; border:1px solid #999;margin-top:5px;} 4 | .sidebar{float:right; margin-top:-54px;width:29%; border:1px solid #999;} 5 | .footer{width:99.8%;border:1px solid #999;margin-top:10px;} -------------------------------------------------------------------------------- /image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpdocs/Web-Samples/faee5fd24eac99fbe74abfc406ac6a629927c5fd/image.jpg -------------------------------------------------------------------------------- /mult-dim-array.php: -------------------------------------------------------------------------------- 1 | "Black","white"=>"White","green"=>"Green","red"=>"Red"); 6 | 7 | //Multi Dim Array 8 | $products=array( 9 | array("pro_id"=>1,"pro_name"=>"Iphone","pro_price"=>"100,000","pro_url"=>"https://google.com"), 10 | array("pro_id"=>1,"pro_name"=>"Iphone","pro_price"=>"100,000","pro_url"=>"https://google.com"), 11 | array("pro_id"=>1,"pro_name"=>"Iphone","pro_price"=>"100,000","pro_url"=>"https://google.com"), 12 | array("pro_id"=>1,"pro_name"=>"Iphone","pro_price"=>"100,000","pro_url"=>"https://google.com"), 13 | array("pro_id"=>1,"pro_name"=>"Iphone","pro_price"=>"100,000","pro_url"=>"https://google.com"), 14 | array("pro_id"=>1,"pro_name"=>"Iphone","pro_price"=>"100,000","pro_url"=>"https://google.com"), 15 | array("pro_id"=>1,"pro_name"=>"Iphone","pro_price"=>"100,000","pro_url"=>"https://google.com"), 16 | array("pro_id"=>1,"pro_name"=>"Iphone","pro_price"=>"100,000","pro_url"=>"https://google.com"), 17 | array("pro_id"=>1,"pro_name"=>"Iphone","pro_price"=>"100,000","pro_url"=>"https://google.com"), 18 | array("pro_id"=>1,"pro_name"=>"Iphone","pro_price"=>"100,000","pro_url"=>"https://google.com"), 19 | array("pro_id"=>1,"pro_name"=>"Iphone","pro_price"=>"100,000","pro_url"=>"https://google.com"), 20 | array("pro_id"=>1,"pro_name"=>"Iphone","pro_price"=>"100,000","pro_url"=>"https://google.com") 21 | 22 | ); 23 | 24 | 25 | 26 | $pro_counter=1; 27 | ?> 28 | 29 | 30 | 33 | 38 | "; 42 | } 43 | $pro_counter++; 44 | ?> 45 | 46 | 47 | 48 |
34 |

35 | 36 | ">Buy Now 37 |
49 | 50 | -------------------------------------------------------------------------------- /table.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Tables 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
NameSalary
Qasim10000
Fasial25000
24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
NameSalary
Qasim10000
Fasial25000
41 | 42 |
43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 |
S#NameSalaryRegular/Contract
1Qasim10000All are Regular
2Fasial25000
Total Salary 35000
68 |
69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 |
S#NameSalaryRegular/Contract
1Qasim10000All are Regular
2Fasial25000
Total Salary 35000all amounts are in PKR
94 | 95 |
96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 |
S#NameSalaryRegular/Contract
Total Salary 35000All Amounts are in PKR
1Qasim10000All are Regular
2Fasial25000
128 | 129 | 130 | --------------------------------------------------------------------------------