fca-priyansh 10.2.0 → 10.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/Extra/Html/Classic/script.js +1 -1
- package/index.js +57 -57
- package/package.json +1 -1
package/index.js
CHANGED
@@ -194,63 +194,63 @@ var Boolean_Option = ['online','selfListen','listenEvents','updatePresence','for
|
|
194
194
|
|
195
195
|
/!-[ Set And Check Template HTML ]-!/
|
196
196
|
|
197
|
-
var css = readFileSync(join(__dirname, 'Extra', 'Html', 'Classic', 'style.css'));
|
198
|
-
var js = readFileSync(join(__dirname, 'Extra', 'Html', 'Classic', 'script.js'));
|
199
|
-
|
200
|
-
/!-[ Function Generate HTML Template ]-!/
|
201
|
-
|
202
|
-
/**
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
function ClassicHTML(UserName,Type,link) {
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
}
|
238
|
-
|
239
|
-
/!-[ Stating Http Infomation ]-!/
|
240
|
-
|
241
|
-
express.set('DFP', (process.env.PORT || process.env.port || 1932));
|
242
|
-
express.use(function(req, res, next) {
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
197
|
+
// var css = readFileSync(join(__dirname, 'Extra', 'Html', 'Classic', 'style.css'));
|
198
|
+
// var js = readFileSync(join(__dirname, 'Extra', 'Html', 'Classic', 'script.js'));
|
199
|
+
|
200
|
+
// /!-[ Function Generate HTML Template ]-!/
|
201
|
+
|
202
|
+
// /**
|
203
|
+
// * It returns a string of HTML code.
|
204
|
+
// * @param UserName - The username of the user
|
205
|
+
// * @param Type - The type of user, either "Free" or "Premium"
|
206
|
+
// * @param link - The link to the music you want to play
|
207
|
+
// * @returns A HTML file
|
208
|
+
// */
|
209
|
+
|
210
|
+
// function ClassicHTML(UserName,Type,link) {
|
211
|
+
// return `<!DOCTYPE html>
|
212
|
+
// <html lang="en" >
|
213
|
+
// <head>
|
214
|
+
// <meta charset="UTF-8">
|
215
|
+
// <title>Horizon</title>
|
216
|
+
// <link rel="stylesheet" href="./style.css">
|
217
|
+
// </head>
|
218
|
+
// <body>
|
219
|
+
// <center>
|
220
|
+
// <marquee><b>waiting for u :d</b></marquee>
|
221
|
+
// <h2>Horizon User Infomation</h2>
|
222
|
+
// <h3>UserName: ${UserName} | Type: ${Type}</h3>
|
223
|
+
// <canvas id="myCanvas"></canvas>
|
224
|
+
// <script src="./script.js"></script>
|
225
|
+
// <footer class="footer">
|
226
|
+
// <div id="music">
|
227
|
+
// <audio autoplay="false" controls="true" loop="true" src="${link}" __idm_id__="5070849">Your browser does not support the audio element.</audio>
|
228
|
+
// <br><b>Session ID:</b> ${global.Fca.Require.Security.create().uuid}<br>
|
229
|
+
// <br>Thanks For Using <b>fca-priyansh</b> - From <b>Priyansh</b> <3<br>
|
230
|
+
// </div>
|
231
|
+
// </footer>
|
232
|
+
// </div>
|
233
|
+
// </center>
|
234
|
+
// </html>
|
235
|
+
// </body>`
|
236
|
+
// //lazy to change
|
237
|
+
// }
|
238
|
+
|
239
|
+
// /!-[ Stating Http Infomation ]-!/
|
240
|
+
|
241
|
+
// express.set('DFP', (process.env.PORT || process.env.port || 1932));
|
242
|
+
// express.use(function(req, res, next) {
|
243
|
+
// switch (req.url.split('?')[0]) {
|
244
|
+
// case '/script.js': {
|
245
|
+
// res.writeHead(200, { 'Content-Type': 'text/javascript' });
|
246
|
+
// res.write(js);
|
247
|
+
// break;
|
248
|
+
// }
|
249
|
+
// case '/style.css': {
|
250
|
+
// res.writeHead(200, { 'Content-Type': 'text/css' });
|
251
|
+
// res.write(css);
|
252
|
+
// break;
|
253
|
+
// }
|
254
254
|
// case '/History': {
|
255
255
|
// if (req.query.PassWord == process.env.REPL_OWNER) {
|
256
256
|
// res.writeHead(200, { 'Content-Type': 'application/json charset=utf-8' });
|