ISBMedia commited on
Commit
cd3148d
·
verified ·
1 Parent(s): eb544bf

Our website is https://indiansexbazar.com. Devlop a wordpress plugin for do-follow backlink exchange. provide complete code of this plugin. - Initial Deployment

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +351 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Backlink
3
- emoji: 🐢
4
- colorFrom: pink
5
- colorTo: red
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: backlink
3
+ emoji: 🐳
4
+ colorFrom: red
5
+ colorTo: gray
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,351 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Backlink Exchange Plugin</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .admin-table {
11
+ width: 100%;
12
+ border-collapse: collapse;
13
+ }
14
+ .admin-table th, .admin-table td {
15
+ padding: 12px;
16
+ text-align: left;
17
+ border-bottom: 1px solid #e2e8f0;
18
+ }
19
+ .admin-table th {
20
+ background-color: #f8fafc;
21
+ font-weight: 600;
22
+ }
23
+ .badge {
24
+ display: inline-block;
25
+ padding: 2px 8px;
26
+ border-radius: 12px;
27
+ font-size: 12px;
28
+ font-weight: 500;
29
+ }
30
+ .badge-pending {
31
+ background-color: #fef3c7;
32
+ color: #92400e;
33
+ }
34
+ .badge-approved {
35
+ background-color: #d1fae5;
36
+ color: #065f46;
37
+ }
38
+ .badge-rejected {
39
+ background-color: #fee2e2;
40
+ color: #991b1b;
41
+ }
42
+ .modal {
43
+ display: none;
44
+ position: fixed;
45
+ z-index: 50;
46
+ left: 0;
47
+ top: 0;
48
+ width: 100%;
49
+ height: 100%;
50
+ background-color: rgba(0,0,0,0.5);
51
+ }
52
+ .modal-content {
53
+ background-color: white;
54
+ margin: 10% auto;
55
+ padding: 20px;
56
+ border-radius: 8px;
57
+ width: 90%;
58
+ max-width: 600px;
59
+ }
60
+ @media (max-width: 768px) {
61
+ .admin-table td:before {
62
+ content: attr(data-label);
63
+ float: left;
64
+ font-weight: bold;
65
+ }
66
+ .admin-table th {
67
+ display: none;
68
+ }
69
+ .admin-table tr {
70
+ display: block;
71
+ margin-bottom: 1rem;
72
+ border: 1px solid #e2e8f0;
73
+ border-radius: 0.5rem;
74
+ padding: 0.5rem;
75
+ }
76
+ .admin-table td {
77
+ display: block;
78
+ text-align: right;
79
+ }
80
+ .admin-table td::before {
81
+ float: left;
82
+ content: attr(data-label);
83
+ font-weight: bold;
84
+ }
85
+ }
86
+ </style>
87
+ </head>
88
+ <body class="bg-gray-100">
89
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
90
+ <!-- Plugin Header -->
91
+ <div class="bg-white rounded-lg shadow-md p-6 mb-8">
92
+ <div class="flex flex-col sm:flex-row justify-between items-start sm:items-center mb-6">
93
+ <div>
94
+ <h1 class="text-3xl font-bold text-gray-900">Backlink Exchange Manager</h1>
95
+ <p class="text-gray-600 mt-2">Manage do-follow backlink exchanges for indiansexbazar.com</p>
96
+ </div>
97
+ <button id="addNewBtn" class="mt-4 sm:mt-0 bg-indigo-600 hover:bg-indigo-700 text-white font-medium py-2 px-4 rounded-lg flex items-center">
98
+ <i class="fas fa-plus mr-2"></i>Add New Exchange
99
+ </button>
100
+ </div>
101
+
102
+ <!-- Stats Cards -->
103
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-8">
104
+ <div class="bg-white border border-gray-200 rounded-lg p-4 shadow-sm">
105
+ <div class="flex items-center justify-between">
106
+ <div>
107
+ <p class="text-sm font-medium text-gray-500">Total Exchanges</p>
108
+ <h3 class="text-2xl font-bold text-gray-900">142</h3>
109
+ </div>
110
+ <div class="p-3 rounded-full bg-indigo-100 text-indigo-600">
111
+ <i class="fas fa-link text-lg"></i>
112
+ </div>
113
+ </div>
114
+ </div>
115
+ <div class="bg-white border border-gray-200 rounded-lg p-4 shadow-sm">
116
+ <div class="flex items-center justify-between">
117
+ <div>
118
+ <p class="text-sm font-medium text-gray-500">Approved</p>
119
+ <h3 class="text-2xl font-bold text-green-600">87</h3>
120
+ </div>
121
+ <div class="p-3 rounded-full bg-green-100 text-green-600">
122
+ <i class="fas fa-check-circle text-lg"></i>
123
+ </div>
124
+ </div>
125
+ </div>
126
+ <div class="bg-white border border-gray-200 rounded-lg p-4 shadow-sm">
127
+ <div class="flex items-center justify-between">
128
+ <div>
129
+ <p class="text-sm font-medium text-gray-500">Pending Approval</p>
130
+ <h3 class="text-2xl font-bold text-yellow-600">32</h3>
131
+ </div>
132
+ <div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
133
+ <i class="fas fa-clock text-lg"></i>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </div>
138
+
139
+ <!-- Filter and Search -->
140
+ <div class="flex flex-col sm:flex-row justify-between items-start sm:items-center mb-4 gap-4">
141
+ <div class="w-full sm:w-auto">
142
+ <label for="status-filter" class="block text-sm font-medium text-gray-700 mb-1">Status</label>
143
+ <select id="status-filter" class="block w-full sm:w-48 rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 py-2 px-3 border bg-white">
144
+ <option value="all">All Statuses</option>
145
+ <option value="pending">Pending</option>
146
+ <option value="approved">Approved</option>
147
+ <option value="rejected">Rejected</option>
148
+ </select>
149
+ </div>
150
+
151
+ <div class="w-full sm:w-auto">
152
+ <label for="search" class="block text-sm font-medium text-gray-700 mb-1">Search</label>
153
+ <div class="relative">
154
+ <input type="text" id="search" placeholder="Search exchanges..." class="block w-full sm:w-64 rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 py-2 px-3 border bg-white pl-10">
155
+ <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
156
+ <i class="fas fa-search text-gray-400"></i>
157
+ </div>
158
+ </div>
159
+ </div>
160
+ </div>
161
+
162
+ <!-- Backlinks Table -->
163
+ <div class="overflow-x-auto bg-white rounded-lg shadow">
164
+ <table class="admin-table">
165
+ <thead>
166
+ <tr>
167
+ <th>Website</th>
168
+ <th>Link URL</th>
169
+ <th>Email</th>
170
+ <th>Status</th>
171
+ <th>Date</th>
172
+ <th>Actions</th>
173
+ </tr>
174
+ </thead>
175
+ <tbody>
176
+ <tr>
177
+ <td data-label="Website">ExampleSite1.com</td>
178
+ <td data-label="Link URL">https://indiansexbazar.com/category/adult</td>
179
+ <td data-label="Email">[email protected]</td>
180
+ <td data-label="Status"><span class="badge badge-approved">Approved</span></td>
181
+ <td data-label="Date">2023-06-15</td>
182
+ <td data-label="Actions">
183
+ <div class="flex space-x-2">
184
+ <button class="text-blue-600 hover:text-blue-800" title="Edit"><i class="fas fa-edit"></i></button>
185
+ <button class="text-red-600 hover:text-red-800" title="Delete"><i class="fas fa-trash"></i></button>
186
+ </div>
187
+ </td>
188
+ </tr>
189
+ <tr>
190
+ <td data-label="Website">ExampleSite2.org</td>
191
+ <td data-label="Link URL">https://indiansexbazar.com/category/movies</td>
192
+ <td data-label="Email">[email protected]</td>
193
+ <td data-label="Status"><span class="badge badge-pending">Pending</span></td>
194
+ <td data-label="Date">2023-06-20</td>
195
+ <td data-label="Actions">
196
+ <div class="flex space-x-2">
197
+ <button class="text-blue-600 hover:text-blue-800" title="Edit"><i class="fas fa-edit"></i></button>
198
+ <button class="text-green-600 hover:text-green-800" title="Approve"><i class="fas fa-check"></i></button>
199
+ <button class="text-red-600 hover:text-red-800" title="Delete"><i class="fas fa-trash"></i></button>
200
+ </div>
201
+ </td>
202
+ </tr>
203
+ <tr>
204
+ <td data-label="Website">ExampleBlog.net</td>
205
+ <td data-label="Link URL">https://indiansexbazar.com/about</td>
206
+ <td data-label="Email">[email protected]</td>
207
+ <td data-label="Status"><span class="badge badge-rejected">Rejected</span></td>
208
+ <td data-label="Date">2023-06-10</td>
209
+ <td data-label="Actions">
210
+ <div class="flex space-x-2">
211
+ <button class="text-blue-600 hover:text-blue-800" title="Edit"><i class="fas fa-edit"></i></button>
212
+ <button class="text-red-600 hover:text-red-800" title="Delete"><i class="fas fa-trash"></i></button>
213
+ </div>
214
+ </td>
215
+ </tr>
216
+ </tbody>
217
+ </table>
218
+ </div>
219
+
220
+ <!-- Pagination -->
221
+ <div class="flex items-center justify-between mt-6">
222
+ <div>
223
+ <p class="text-sm text-gray-700">Showing <span class="font-medium">1</span> to <span class="font-medium">10</span> of <span class="font-medium">42</span> entries</p>
224
+ </div>
225
+ <div class="flex space-x-2">
226
+ <button class="px-3 py-1 border rounded text-gray-600 hover:bg-gray-100 disabled:opacity-50" disabled>Previous</button>
227
+ <button class="px-3 py-1 border rounded bg-indigo-600 text-white">1</button>
228
+ <button class="px-3 py-1 border rounded text-gray-600 hover:bg-gray-100">2</button>
229
+ <button class="px-3 py-1 border rounded text-gray-600 hover:bg-gray-100">3</button>
230
+ <button class="px-3 py-1 border rounded text-gray-600 hover:bg-gray-100">Next</button>
231
+ </div>
232
+ </div>
233
+ </div>
234
+ </div>
235
+
236
+ <!-- Add/Edit Modal -->
237
+ <div id="exchangeModal" class="modal">
238
+ <div class="modal-content">
239
+ <div class="flex justify-between items-center mb-4">
240
+ <h3 class="text-xl font-bold" id="modalTitle">Add New Backlink Exchange</h3>
241
+ <button id="closeModal" class="text-gray-500 hover:text-gray-700">&times;</button>
242
+ </div>
243
+
244
+ <form id="exchangeForm">
245
+ <div class="mb-4">
246
+ <label for="websiteName" class="block text-sm font-medium text-gray-700 mb-1">Website Name*</label>
247
+ <input type="text" id="websiteName" required class="block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 py-2 px-3 border">
248
+ </div>
249
+
250
+ <div class="mb-4">
251
+ <label for="websiteUrl" class="block text-sm font-medium text-gray-700 mb-1">Website URL*</label>
252
+ <input type="url" id="websiteUrl" required class="block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 py-2 px-3 border" placeholder="https://">
253
+ </div>
254
+
255
+ <div class="mb-4">
256
+ <label for="linkUrl" class="block text-sm font-medium text-gray-700 mb-1">Link on Your Site*</label>
257
+ <input type="url" id="linkUrl" required class="block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 py-2 px-3 border" value="https://indiansexbazar.com/">
258
+ </div>
259
+
260
+ <div class="mb-4">
261
+ <label for="anchorText" class="block text-sm font-medium text-gray-700 mb-1">Anchor Text*</label>
262
+ <input type="text" id="anchorText" required class="block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 py-2 px-3 border" placeholder="Click here for adult content">
263
+ </div>
264
+
265
+ <div class="mb-4">
266
+ <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email*</label>
267
+ <input type="email" id="email" required class="block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 py-2 px-3 border">
268
+ </div>
269
+
270
+ <div class="mb-4">
271
+ <label for="notes" class="block text-sm font-medium text-gray-700 mb-1">Notes</label>
272
+ <textarea id="notes" rows="3" class="block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 py-2 px-3 border"></textarea>
273
+ </div>
274
+
275
+ <div class="flex justify-end space-x-3">
276
+ <button type="button" id="cancelBtn" class="py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 bg-white hover:bg-gray-50">Cancel</button>
277
+ <button type="submit" class="py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700">Save Exchange</button>
278
+ </div>
279
+ </form>
280
+ </div>
281
+ </div>
282
+
283
+ <script>
284
+ // Modal handling
285
+ const modal = document.getElementById('exchangeModal');
286
+ const addNewBtn = document.getElementById('addNewBtn');
287
+ const closeModal = document.getElementById('closeModal');
288
+ const cancelBtn = document.getElementById('cancelBtn');
289
+
290
+ addNewBtn.addEventListener('click', () => {
291
+ modal.style.display = 'block';
292
+ document.body.style.overflow = 'hidden';
293
+ });
294
+
295
+ closeModal.addEventListener('click', () => {
296
+ modal.style.display = 'none';
297
+ document.body.style.overflow = 'auto';
298
+ });
299
+
300
+ cancelBtn.addEventListener('click', () => {
301
+ modal.style.display = 'none';
302
+ document.body.style.overflow = 'auto';
303
+ });
304
+
305
+ window.addEventListener('click', (event) => {
306
+ if (event.target === modal) {
307
+ modal.style.display = 'none';
308
+ document.body.style.overflow = 'auto';
309
+ }
310
+ });
311
+
312
+ // Form submission
313
+ const exchangeForm = document.getElementById('exchangeForm');
314
+ exchangeForm.addEventListener('submit', (e) => {
315
+ e.preventDefault();
316
+ // Here you would handle the form submission with AJAX
317
+ alert('Backlink exchange request submitted successfully!');
318
+ modal.style.display = 'none';
319
+ document.body.style.overflow = 'auto';
320
+ exchangeForm.reset();
321
+ });
322
+
323
+ // Filter functionality
324
+ const statusFilter = document.getElementById('status-filter');
325
+ const searchInput = document.getElementById('search');
326
+ const tableRows = document.querySelectorAll('.admin-table tbody tr');
327
+
328
+ statusFilter.addEventListener('change', filterTable);
329
+ searchInput.addEventListener('keyup', filterTable);
330
+
331
+ function filterTable() {
332
+ const statusValue = statusFilter.value.toLowerCase();
333
+ const searchValue = searchInput.value.toLowerCase();
334
+
335
+ tableRows.forEach(row => {
336
+ const rowStatus = row.querySelector('td:nth-child(4) span').className.toLowerCase();
337
+ const rowText = row.textContent.toLowerCase();
338
+
339
+ const statusMatch = statusValue === 'all' || rowStatus.includes(statusValue);
340
+ const searchMatch = rowText.includes(searchValue);
341
+
342
+ if (statusMatch && searchMatch) {
343
+ row.style.display = '';
344
+ } else {
345
+ row.style.display = 'none';
346
+ }
347
+ });
348
+ }
349
+ </script>
350
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=ISBMedia/backlink" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
351
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Our website is https://indiansexbazar.com. Devlop a wordpress plugin for do-follow backlink exchange. provide complete code of this plugin.