-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompanies.php
220 lines (175 loc) · 9.06 KB
/
companies.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<?php
require 'session.php';
init();
customer_restricted();
aunthenticate();
//phpinfo();
?>
<html>
<head>
<title> companies</title>
<link rel="icon" href="img/fav2.png"/>
<meta name="viewport" content="width=1024">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="home/css/font-awesome.min.css">
<link href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="http://css-spinners.com/css/spinners.css" type="text/css">
<link href="home/css/myshops.css" rel="stylesheet">
<link href="./menu_files/style-24.css" rel="stylesheet">
<link rel="stylesheet" href="home/css/loader.css">
<link href="home/css/main.css" rel="stylesheet">
<link href="./companies_files/style-142.css" rel="stylesheet">
<link href="home/css/animate.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha256-k2/8zcNbxVIh5mnQ52A0r3a6jAgMGxFJFE2707UxGCk= sha512-ZV9KawG2Legkwp3nAlxLIVFudTauWuBpC10uEafMHYL0Sarrz5A7G79kXh5+5+woxQ5HM559XX2UZjMJ36Wplg==" crossorigin="anonymous">
<script type="text/javascript" src="home/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="home/js/bootstrap.min.js"></script>
<script type="text/javascript" src="home/js/constants.js"></script>
<script type="text/javascript" src="home/js/navigation-drawer.js"></script>
<script type="text/javascript" src="home/js/companies.js"></script>
<script type="text/javascript" src="home/js/suggestions.js"></script>
<script type="text/javascript" src="home/js/bootstrap-notify.min.js"></script>
</head>
<!-- <body onload ="buildCompanyPage()" style="background-image:url(https://s3.eu-central-1.amazonaws.com/userinterface-scripts/Scripts/img/cloud.png);background-size:cover;background-repeat:no-repeat;background-attachment:fixed;overflow-y:auto;"> -->
<body onload ="buildCompanyPage()" style="background-color:#F2F2F2;">
<div id="nav" class="navbar-fixed-top" >
<div class="container-fluid">
<div class="row">
<div class="col-sm-2">
<div class="col-sm-2">
<a href="index.php"><img src="img/log3.png" height="50"/></a>
</div>
</div>
<div class="col-sm-offset-1 col-sm-4">
<div class="input-group" style="margin-top:3%;width:150%;">
<input type="text" class="form-control" placeholder="Search for companies">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Search</button>
</span>
</div><!-- /input-group -->
</div>
<div id="nav_content" style="margin-right:3%;" class="res">
<ul class="nav navbar-nav navbar-right style_font" >
<li class="home" style="color:white;font-weight:900;font-size:150%;margin-top:15px;"><i class="icon ion-ios-home-outline" style="font-size:30px;color:#004A6E"><label style="font-size:13px;font-weight:400;"> Home </label></i></li>
<!-- <li style="color:white;font-weight:900;font-size:150%;margin-top:15px;"><span class="glyphicon glyphicon-bell" ><label style="font-size:13px;"> Notifications </label></span></li> -->
<li style="cursor:pointer;"><span class="input-group" style="color:white;font-weight:900;font-size:150%;margin-top:15px;">
<i class="icon ion-ios-locked-outline dropdown-toggle" id="account" data-toggle="dropdown" aria-expanded="true" style="font-size:30px;color:#004A6E"><label style="font-size:13px;font-weight:400;"> Account</label></i>
<ul class="dropdown-menu" role="menu" aria-labelledby="account">
<li role="presentation" class="dropdown-header"><center>Chaddy</center></li>
<li role="presentation" class="divider"></li>
<li role="presentation" data-toggle="modal" data-target="#edit_ac"><a role="menuitem" tabindex="-1" style="text-align:left;"><span class="glyphicon glyphicon-cog"></span> settings</a></li>
<li role="presentation"><a href="logout.php" role="menuitem" tabindex="-1" style="text-align:left;"><span class="glyphicon glyphicon-off"></span> logout</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" style="text-align:left;"><span class="glyphicon glyphicon-info-sign"></span> about us</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" style="text-align:left;"><span class="glyphicon glyphicon-question-sign"></span> help</a></li>
</ul>
</span>
</li>
</ul>
</div>
</div>
</div>
</div>
<br><br><br>
<?php
echo nav_drawer();
echo create_ad();
echo edit_account_modal();
echo ad_detail();
?>
<br>
<div class="container-fluid" style="height:91%;">
<!--<div class="row col-sm-offset-1 col-sm-10">
<div id="loader" class="loader loader2 col-sm-offset-3" style="margin-top:25%">
<center>
<div class="throbber-loader">
</div>
</center>
</div> -->
<div class="row">
<div class="col-sm-2">
<div class="panel-group category-products" id="accordian" style="background-color:"><!--category-productsr-->
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title"><a class="active" data-toggle="tab" href="#recommend">Recommended</a></h4>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading" onclick="pull_companies_followed()">
<h4 class="panel-title"><a data-toggle="tab" href="#following">Following</a></h4>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordian" href="#categories">
<span class="badge pull-right"><i class="fa fa-plus"></i></span>
Categories
</a>
</h4>
</div>
<div id="categories" class="panel-collapse collapse">
<div class="panel-body">
<ul>
<li ><a data-toggle="tab" href="#category">Top Trending</a></li>
<li><a>Recommended</a></li>
<li ><a>Clothing and fashion</a></li>
<li ><a>Consumer Electronics</a></li>
<li ><a>Groceries</a></li>
<li ><a>Banking and Insurance</a></li>
<li ><a>Automotive</a></li>
<li ><a>Sports and Entertainment</a></li>
<li ><a>Health</a></li>
<li ><a>Home and Gardening</a></li>
<li ><a>Travel</a></li>
<li ><a>Education</a></li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordian" href="#area">
<span class="badge pull-right"><i class="fa fa-plus"></i></span>
Location
</a>
</h4>
</div>
<div id="area" class="panel-collapse collapse">
<div class="panel-body">
<ul>
<li ><a data-toggle="tab" href="#location">Gauteng</a></li>
<li><a>Western Cape</a></li>
<li ><a>Limpopo</a></li>
<li ><a>Mpumalanga</a></li>
<li ><a>Kwazulu Natal</a></li>
<li ><a>North West</a></li>
<li ><a>Eastern Cape</a></li>
<li ><a>Northen Cape</a></li>
<li ><a>Free State</a></li>
</ul>
</div>
</div>
</div>
</div><!--/category- products-->
</div>
<div class="col-sm-10">
<div class="ui-142">
<div class="tab-content" >
<div class="row tab-pane fade in active" id="recommend">
</div>
<div class="row tab-pane fade" id="following">
</div>
<div class="row tab-pane fade" id="category">
</div>
<div class="row tab-pane fade" id="location">
</div>
</div>
</div>
<!-- UI - X Ends -->
</div>
</div>
</div>
</div>
</body>
</html>