forked from priyanshisharma/Feminine
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
1001 lines (906 loc) · 55.5 KB
/
index.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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Mobirise v5.2.0, mobirise.com">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<link rel="shortcut icon" href="assets/images/feminine-128x128.png" type="image/x-icon">
<meta name="description" content="">
<title>Feminine</title>
<link rel="stylesheet" href="styles/breastCancerTool.css">
<link rel="stylesheet" href="styles/pcosTool.css">
<link rel="stylesheet" href="assets/web/assets/mobirise-icons2/mobirise2.css">
<link rel="stylesheet" href="assets/tether/tether.min.css">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap-grid.min.css">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap-reboot.min.css">
<link rel="stylesheet" href="assets/dropdown/css/style.css">
<link rel="stylesheet" href="assets/socicon/css/styles.css">
<link rel="stylesheet" href="assets/theme/css/style.css">
<link rel="preload" as="style" href="assets/mobirise/css/mbr-additional.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/mobirise/css/mbr-additional.css" type="text/css">
</head>
<body>
<section class="menu cid-s48OLK6784" once="menu" id="menu1-h">
<nav class="navbar navbar-dropdown navbar-fixed-top navbar-expand-lg">
<div class="container-fluid">
<div class="navbar-brand">
<span class="navbar-logo">
<a href="index.php">
<img src="assets/images/feminine-1-335x335.png" alt="Mobirise" style="height: 5rem;">
</a>
</span>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<div class="hamburger">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav nav-dropdown" data-app-modern-menu="true">
<li class="nav-item">
<a class="nav-link link text-black display-4" href="#features1-n">Features</a>
</li>
<li class="nav-item">
<a class="nav-link link text-black display-4" href="#tabs1-p">AI Tools</a>
</li>
<li class="nav-item">
<a class="nav-link link text-black display-4" href="signup.php">Dashboard</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link link text-black dropdown-toggle display-4" href="#" data-toggle="dropdown-submenu" aria-expanded="false">Book</a>
<div class="dropdown-menu">
<a class="text-black dropdown-item display-4" href="labs.html">Lab Appointment</a>
<a class="text-black dropdown-item display-4" href="consult-doc.html">Expert Consultancy</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link link text-black display-4" href="Tracker.php">Period Tracker</a>
</li>
</ul>
<div class="navbar-buttons mbr-section-btn">
<a class="btn btn-danger display-4" href="signup.php">
Log In/ Sign Up
</a>
</div>
</div>
</div>
</nav>
</section>
<section class="header7 cid-smIipas6Mf mbr-fullscreen" id="header7-u">
<div class="text-right container">
<div class="row justify-content-end">
<div class="col-12 col-lg-5">
<h1 class="mbr-section-title mbr-fonts-style mb-3 display-1">
<strong style="font-family: 'Dancing Script', cursive;">Feminine</strong>
</h1>
<p class="mbr-text mbr-fonts-style display-7">
Our one-stop solution for your protection.
</p>
<div class="mbr-section-btn mt-3">
<a class="btn btn-white display-4" href="#image1-m">Find out more</a>
</div>
</div>
</div>
</div>
</section>
<section class="image1 cid-smH5WnU0bc" id="image1-m">
<div class="container">
<div class="row align-items-center">
<div class="col-12 col-lg-5">
<div class="image-wrapper">
<img src="assets/images/f-880x878.jpg" alt="We're in this together">
</div>
</div>
<div class="col-12 col-lg">
<div class="text-wrapper">
<h3 class="mbr-section-title mbr-fonts-style mb-3 display-5">
<strong style="font-family: 'Dancing Script', cursive; ">About Us</strong>
</h3>
<p class="mbr-text mbr-fonts-style display-7">
Our goal is to spread quality health services across women in this world, such that they may attain
the best possible level of health. This is accomplished by our all-in-one women health platform,
which leverages AI to detect and diagnose women specific health issues and thereby help raise awareness for
its treatment and management.
</p>
<br/>
<p class="mbr-text mbr-fonts-style display-7">
We are fighting for those who are disadvantaged by discrimination rooted in sociocultural factors,
building a sense of trust and breaking the stigma around femininity
</p>
</div>
</div>
</div>
</div>
</section>
<section class="features1 cid-smH6sYk3vI mbr-parallax-background" id="features1-n">
<div class="mbr-overlay" style="opacity: 0.5; background-color: rgb(255, 177, 138);">
</div>
<div class="container">
<div class="row">
<div class="col-12">
<h3 class="mbr-section-title mbr-fonts-style align-center mb-0 display-2">
<strong style="font-family: 'Dancing Script', cursive;" >Features</strong>
</h3>
</div>
</div>
<div class="row">
<div class="card col-12 col-md-6 col-lg-3">
<div class="card-wrapper">
<div class="card-box align-center">
<div class="iconfont-wrapper">
<span class="mbr-iconfont mobi-mbri-idea mobi-mbri"></span>
</div>
<h5 class="card-title mbr-fonts-style display-7"><strong>AI Diagnosis</strong></h5>
<p class="card-text mbr-fonts-style display-7">
Bringing the latest and most effective technology for womankind, we leverage the
power of Artificial Intelligence to prevent deadly cancers as well as common disorders
like PCOS.
</p>
</div>
</div>
</div>
<div class="card col-12 col-md-6 col-lg-3">
<div class="card-wrapper">
<div class="card-box align-center">
<div class="iconfont-wrapper">
<span class="mbr-iconfont mobi-mbri-contact-form mobi-mbri"></span>
</div>
<h5 class="card-title mbr-fonts-style display-7"><strong>Book Appointments</strong></h5>
<p class="card-text mbr-fonts-style display-7">
Timely assistance can be the key to effective treatment, and with Feminine you don't need
to go too far looking for a doctor or laboratory. We provide Appointment Booking to save
your valuable time.
</p>
</div>
</div>
</div>
<div class="card col-12 col-md-6 col-lg-3">
<div class="card-wrapper">
<div class="card-box align-center">
<div class="iconfont-wrapper">
<span class="mbr-iconfont mobi-mbri-calendar mobi-mbri"></span>
</div>
<h5 class="card-title mbr-fonts-style display-7"><strong>Track Medical History</strong></h5>
<p class="card-text mbr-fonts-style display-7">
A clear & uninterrupted chain of medical records are important to understand the
complete condition & provide the necessary treatment. While you heal with us, we maintain the
history for you.
</p>
</div>
</div>
</div>
<div class="card col-12 col-md-6 col-lg-3">
<div class="card-wrapper">
<div class="card-box align-center">
<div class="iconfont-wrapper">
<span class="mbr-iconfont mobi-mbri-users mobi-mbri"></span>
</div>
<h5 class="card-title mbr-fonts-style display-7"><strong>Expert Consultation</strong></h5>
<p class="card-text mbr-fonts-style display-7">
In times of need, wrong consultation(s), lack of consultation, delayed consultation can be
detrimental. To avoid such unfortunate circumstances we bring continuous support by experts.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="tabs content18 cid-smH7yzCdHX" id="tabs1-p">
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-12 col-md-9">
<h3 class="mbr-section-title mb-0 mbr-fonts-style display-2"><strong style="font-family: 'Dancing Script', cursive;">AI Tools for Diagnosis</strong></h3>
<br/>
<p class="card-text mbr-fonts-style display-7">
We currently provide an array of tools powered by artifical intelligence.
</p>
<ul class="card-text mbr-fonts-style display-7">
<li>87,090 women out of the 1,62,468 Breast Cancer Cases in India died in 2018.</li>
<li>60,078 women out of the 96,922 Cervical cancer Cases in India died in 2018.</li>
<li>Every 1 in 5 women in India suffers from PCOS, and is causeative agent to 90% of anovulation cases.</li>
</ul>
<p class="card-text mbr-fonts-style display-7">
Our tools sought to improve this situation.
</p>
</div>
</div>
<div class="row justify-content-center mt-4">
<div class="col-12 col-md-9">
<ul class="nav nav-tabs mb-4" role="tablist">
<li class="nav-item first mbr-fonts-style"><a class="nav-link mbr-fonts-style show active display-7" role="tab" data-toggle="tab" href="#tabs1-p_tab0" aria-selected="true"><strong>Breast Cancer Detection</strong></a></li>
<li class="nav-item"><a class="nav-link mbr-fonts-style active display-7" role="tab" data-toggle="tab" href="#tabs1-p_tab1" aria-selected="true"><strong>Cervical Cancer Detection</strong></a></li>
<li class="nav-item"><a class="nav-link mbr-fonts-style active display-7" role="tab" data-toggle="tab" href="#tabs1-p_tab2" aria-selected="true"><strong>PCOS Detection</strong></a></li>
</ul>
<div class="tab-content">
<div id="tab1" class="tab-pane in active" role="tabpanel">
<div class="container">
<div class="row breast-tool">
<div class="col-md-8 " style=" margin: auto;">
<p style="font-size: 20px;">
We analyse the hispathological image i.e. images of glass tissue slides under a microscope, here tissue samples from lymph
nodes in order to detect breast cancer. We will be analysing tissues for:
</p>
<br/>
<p style="font-size: 20px;">
<strong>Invasive Ductal Carcinoma</strong> - This is the most common subtype of all breast cancers. Almost 80% of
diagnosed breast cancers are of this subtype.
</p>
<p style="font-size: 20px;">
<strong>Metastatic Cancer</strong> - A metastatic cancer or metastatic tumor is one that has spread from the site where
it started into different area/s of the body.
</p>
<br/><br/>
<ul class="arrow" style="list-style-image: url('assets/images/icon.png');">
<li>
<span style="top:-40px; position:relative;">
<p class="breast-step" style="font-size: 23px;">Upload Histopathological Image</p>
<p>
Click on the 'Choose Files' button and select a single image of 200x200 for the algorithm. Use jpeg, jpg or png format.
</p>
</span>
</li>
<li>
<span style="top:-40px; position:relative;">
<p class="breast-step" style="font-size: 23px;">Select Prediction Type</p>
<p>One of these shall be selected for you by default, you may choose between <strong>Metastatic Cancer</strong> and
<strong>Invasive Ductal Carcinoma</strong>
</p>
</span>
</li>
<li>
<span style="top:-40px; position:relative;">
<p class="breast-step" style="font-size: 23px;">Check Results</p>
<p>Your results should load automatically. </p>
</li>
</span>
</ul>
</div>
<div class="col-md-4" style=" margin: auto;">
<img id="selected-image" width="200" src="assets/normal.png" alt="">
<div class="progress-bar">
Ai is Loading...
</div>
<h5>Results</h5>
<ol id='prediction-list'></ol>
<p>What would you like to detect?</p>
<input id='met_cancer_input' type="radio" name="model_type" value="metastatic_cancer" checked>Metastatic Cancer<br>
<input id='breast_cancer_input'type="radio" name="model_type" value="breast_cancer">Invasive Ductal Carcinoma<br>
<p>jpeg or png</p>
<div style="display:flex">
<div class="hide">
<input id="image-selector" type="file" multiple>
</div>
<div class="hide"style="display:none">
<button class="main-button" style="background:#0088e8" id="predict-button">Predict</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="tab2" class="tab-pane" role="tabpanel">
<div class="row">
<div class="col-md-12">
<p class="mbr-text mbr-fonts-style display-7">
Cervical cancer is a type of cancer that occurs in the cells of the cervix — the lower part of the uterus that connects to the
vagina. It isn't clear what causes cervical cancer, but it's certain that HPV plays a role. HPV is very common, and most people
with the virus never develop cancer.
<em>This means other factors — such as your environment or your lifestyle choices — also
determine whether you'll develop cervical cancer.</em>
</p> <br/>
<p class="mbr-text mbr-fonts-style display-7">
On the basis of these factors that you may answer about in our form below, we inform you whether you are at risk of cervical cancer or not. We
facilitate this by providing predictions for four cervical cancer tests, which may be quite expensive otherwise.
</p>
<ul class="mbr-text mbr-fonts-style display-7">
<li>
<strong>Hinselmann test</strong> - This examines the tissues by illuminating and magnifying is using a colposcope.
</li>
<li>
<strong>Schiller test</strong> - Schiller's test or Schiller's Iodine test is a medical test in which iodine solution
is applied to the cervix in order to diagnose cervical cancer.
</li>
<li>
<strong>Cytology test</strong> - This is the examination of suspected cells from the body under a microscope.
</li>
<li>
<strong>Biopsy</strong> - This is the final test. The process involves extraction of sample cells or tissues for examination to determine the
presence or extent of a disease.
</li>
</ul>
<form class="pcos-form" method="post">
<div>
<h5>Age:</h5>
<input type="number" name="age" class="ques-number" >
<h5>Number of sexual partners:</h5>
<input type="number" name="sexual_no" class="ques-number" >
<h5>Age of first sexual intercourse:</h5>
<input type="number" name="sexual_age" class="ques-number">
<h5>Number of pregnancies:</h5>
<input type="number" name="preg_no" class="ques-number">
</div>
<div>
<h5>Do you smoke?</h5>
<input type="radio" name="smoke" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="smoke" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Number of years for which you have been smoking:</h5>
<input type="number" name="smoke_years" class="ques-number">
<h5>Number of packets of cigarettes you smoke per year:</h5>
<input type="number" name="smoke_yearss" class="ques-number">
</div>
<div>
<h5>Do you take any hormonal contraceptives?</h5>
<input type="radio" name="h_cont" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="h_cont" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Number of years for which you have been taking hormonal contraceptives:</h5>
<input type="number" name="h_cont_years" class="ques-number">
<h5>Do you have any Intra-uterine Devices(IUDs)?</h5>
<input type="radio" name="IUD" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="IUD" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Number of years for which you have had IUDs:</h5>
<input type="number" name="IUD_years" class="ques-number">
</div>
<div>
<h5>Do you have any STDs?</h5>
<input type="radio" name="STD" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="STD" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Number of STDs you have:</h5>
<input type="number" name="STD_no" class="ques-number">
<h5>Do you have condylomatosis?</h5>
<input type="radio" name="STD_c" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="STD_c" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Do you have vaginal condylomatosis?</h5>
<input type="radio" name="STD_vc" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="STD_vc" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Do you have vulvao perineal condylomatosis?</h5>
<input type="radio" name="STD_vpc" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="STD_vpc" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Do you have syphilis?</h5>
<input type="radio" name="STD_sy" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="STD_sy" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Do you have any pelvic inflamatory disease?</h5>
<input type="radio" name="STD_pid" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="STD_pid" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Do you have genital herpes?</h5>
<input type="radio" name="STD_hp" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="STD_hp" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Do you have molluscum contagiosum?</h5>
<input type="radio" name="STD_mc" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="STD_mc" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Do you have HIV?</h5>
<input type="radio" name="STD_hiv" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="STD_hiv" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Do you have HepatitisB?</h5>
<input type="radio" name="STD_hptb" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="STD_hptb" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Do you have Human papillomavirus (HPV)?</h5>
<input type="radio" name="STD_hpv" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="STD_hpv" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Number of Diagnosis of STDs:</h5>
<input type="number" name="STD_noD" class="ques-number">
</div>
<div>
<h5>Have you ever had a diagnosis of cancer?</h5>
<input type="radio" name="cancerE" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="cancerE" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Have you ever had a diagnosis of Cervical Intraepithelial neoplasia(CIN)?</h5>
<input type="radio" name="CIND" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="CIND" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Have you ever had a diagnosis of Human papillomavirus (HPV)?</h5>
<input type="radio" name="HPVD" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="HPVD" class="ques-radio" value="0">
<label class="ques-label" >No</label>
<h5>Have you ever had a diagnosis of any other major reproductive issue?</h5>
<input type="radio" name="otherD" class="ques-radio" value="1">
<label class="ques-label">Yes</label>
<input type="radio" name="otherD" class="ques-radio" value="0">
<label class="ques-label" >No</label>
</div>
<button type="submit" class="btn btn-danger" id="cervical-predict" name="cervical-predict">Predict Possibility Of Cervical Cancer</button>
</form>
<div class="prediction-result">
<!-- <p>Please submit the form above to get a prediction.</p> -->
<?php
// $json1=0;
if(isset($_POST['cervical-predict'])){
$o1= $_POST['age'];
$o2= $_POST['sexual_no'];
$o3= $_POST['sexual_age'];
$o4= $_POST['preg_no'];
$o5= $_POST['smoke'];
$o6= $_POST['smoke_years'];
$o60= $_POST['smoke_yearss'];
$o7= $_POST['h_cont'];
$o8= $_POST['h_cont_years'];
$o9= $_POST['IUD'];
$o10= $_POST['IUD_years'];
$o11= $_POST['STD'];
$o12= $_POST['STD_no'];
$o13= $_POST['STD_c'];
$o14= $_POST['STD_vc'];
$o15= $_POST['STD_vpc'];
$o16= $_POST['STD_sy'];
$o17= $_POST['STD_pid'];
$o18= $_POST['STD_hp'];
$o19= $_POST['STD_mc'];
$o20= $_POST['STD_hiv'];
$o21= $_POST['STD_hptb'];
$o22= $_POST['STD_hpv'];
$o23= $_POST['STD_noD'];
$o24= $_POST['cancerE'];
$o25= $_POST['CIND'];
$o26= $_POST['HPVD'];
$o27= $_POST['otherD'];
$json2 = file_get_contents('https://3ff03eccff14.ngrok.io/cervicalcancer/', false, stream_context_create([
'http' => [
'method' => 'POST',
'header' => "Content-type: application/x-www-form-urlencoded",
'content' => http_build_query([
"age"=> $o1,
"number_of_sexual_partners"=> $o2,
"age_of_first_sexual_intercourse"=> $o3,
"number_of_pregnancies"=> $o4,
"smokes"=> $o5,
"smokes_years"=> $o6,
"smokes_packs_per_year"=> $o60,
"hormonal_contraceptives"=> $o7,
"hormonal_contraceptives_years"=> $o8,
"IUD"=> $o9,
"IUD_years"=> $o10,
"STDs"=> $o11,
"STDs_number"=> $o12,
"STDs_condylomatosis"=> $o13,
"STDs_vaginal_condylomatosis"=> $o14,
"STDs_vulvo_perineal_condylomatosis"=> $o15,
"STDs_syphilis"=> $o16,
"STDs_pelvic_inflammatory_disease_"=> $o17,
"STDs_genital_herpes"=> $o18,
"STDs_molluscum_contagiosum"=> $o19,
"STDs_HIV"=> $o20,
"STDs_HepatitisB"=> $o21,
"STDs_HPV"=> $o22,
"STDs_Number_of_diagnosis"=> $o23,
"Dx_Cancer"=> $o24,
"Dx_CIN"=> $o25,
"Dx_HPV"=> $o26,
"Dx"=> $o27
])
]
]));
$yummy = json_decode($json2);
if ($yummy->Hinselmann=='0.0') {
echo "<p>Hinselmann is predicted to be negative</p>";
}
elseif ($yummy->Hinselmann =='1.0') {
echo "<p>Hinselmann is predicted to be positive</p>";
}
if ($yummy->Cytology=='0.0') {
echo "<p>Cytology is predicted to be negative</p>";
}
elseif ($yummy->Cytology =='1.0') {
echo "<p>Cytology is predicted to be positive</p>";
}
if ($yummy->Schiller=='0.0') {
echo "<p>Schiller is predicted to be negative</p>";
}
elseif ($yummy->Schiller =='1.0') {
echo "<p>Schiller is predicted to be positive</p>";
}
if ($yummy->Biopsy=='0.0') {
echo "<p>You may not require Biopsy</p>";
}
elseif ($yummy->Biopsy =='1.0') {
echo "<p>You may require Biopsy</p>";
}
}
else{
echo "<p>Please submit the form above to get a prediction.</p>";
}
// else {
// $yummy = json_decode($json1);
// if ($yummy->pcos=='mb n') {
// echo "<p>You may not be at the risk of PCOS</p>";
// }
// elseif ($yummy->pcos == 'mb y') {
// echo "<p>You may be at the risk of PCOS</p>";
// }
?>
</div>
</div>
</div>
</div>
<div id="tab3" class="tab-pane" role="tabpanel">
<div class="row">
<div class="col-md-12">
<p class="card-text mbr-fonts-style display-7">
PCOS or Polycystic Ovarian Syndrome is a hormonal disorder causing enlarged ovaries with small cysts on the outer edges.
The cause of polycystic ovary syndrome isn't well understood, but may involve a combination
of genetic and environmental factors.
</p><br/>
<p class="card-text mbr-fonts-style display-7">
Fill the information below and leave it to our machine learning model to tell you whether
you're at risk of PCOS or not.
</p>
<form class="pcos-form" method="post">
<div>
<h5>How would you describe the regularity of your periods?</h5>
<input type="radio" name="regularity" class="ques-radio" value="y">
<label class="ques-label">Regular</label>
<input type="radio" name="regularity" class="ques-radio" value="im">
<label class="ques-label" >Infrequent Menses</label>
<input type="radio" name="regularity" class="ques-radio" value="ib">
<label class="ques-label" >Irregular Bleeding</label>
<input type="radio" name="regularity" class="ques-radio" value="hb">
<label class="ques-label" >Heavy Bleeding</label>
</div>
<div>
<h5>Have you experienced rapid weight gain?</h5>
<input type="radio" name="weight" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="weight" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Have you experienced excess hair growth on face, neck or chest?</h5>
<input type="radio" name="hair" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="hair" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Do you have dark patches on skin?</h5>
<input type="radio" name="dark" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="dark" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Do you have pimples often?</h5>
<input type="radio" name="pimples" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="pimples" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Do you suffer from depression and anxiety?</h5>
<input type="radio" name="dora" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="dora" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Do you have a family history of diabetes or hypertension?</h5>
<input type="radio" name="history" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="history" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Do you face difficulty in maintaining a constant body weight?</h5>
<input type="radio" name="flow" class="ques-radio" value="n">
<label class="ques-label">Yes</label>
<input type="radio" name="flow" class="ques-radio" value="y">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Do you have oily skin?</h5>
<input type="radio" name="oily" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="oily" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Do you face hairfall?</h5>
<input type="radio" name="hairf" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="hairf" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Which of the following is your frequent food intake?</h5>
<input type="radio" name="food" class="ques-radio" value=hm">
<label class="ques-label">Food prepared at home</label>
<input type="radio" name="food" class="ques-radio" value="cc">
<label class="ques-label" >Outside food</label>
</div>
<div>
<h5>Do you exercise regularly?</h5>
<input type="radio" name="exc" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="exc" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Do you experience mental stress due to any recent changes in your life?</h5>
<input type="radio" name="change" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="change" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Do you experience mental stress due to any personal problems?</h5>
<input type="radio" name="prob" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="prob" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Do you experience mental stress due to peer pressure?</h5>
<input type="radio" name="peer" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="peer" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>Do you experience mental stress due to any change in dietary habits?</h5>
<input type="radio" name="diet" class="ques-radio" value="y">
<label class="ques-label">Yes</label>
<input type="radio" name="diet" class="ques-radio" value="n">
<label class="ques-label" >No</label>
</div>
<div>
<h5>How frequent is your fast-food intake?</h5>
<input type="radio" name="fast" class="ques-radio" value="ed">
<label class="ques-label">Every Day</label>
<input type="radio" name="fast" class="ques-radio" value="w">
<label class="ques-label" >Once in a week</label>
<input type="radio" name="fast" class="ques-radio" value="m">
<label class="ques-label" >Once in a month</label>
<input type="radio" name="fast" class="ques-radio" value="y">
<label class="ques-label" >Once in a year</label>
</div>
<button type="submit" class="btn btn-danger" id="predict-button" name="pcos-predict">Predict PCOS Possibility</button>
</div>
<div class="prediction-result">
<?php
// $json1=0;
if(isset($_POST['pcos-predict'])){
$o1= $_POST['regularity'];
$o2= $_POST['weight'];
$o3= $_POST['hair'];
$o4= $_POST['dark'];
$o5= $_POST['pimples'];
$o6= $_POST['dora'];
$o7= $_POST['history'];
$o8= $_POST['flow'];
$o9= $_POST['oily'];
$o10= $_POST['hairf'];
$o11= $_POST['food'];
$o12= $_POST['exc'];
$o13= $_POST['change'];
$o14= $_POST['prob'];
$o15= $_POST['peer'];
$o16= $_POST['diet'];
$o17= $_POST['fast'];
$json1 = file_get_contents('https://3ff03eccff14.ngrok.io/pcos/', false, stream_context_create([
'http' => [
'method' => 'POST',
'header' => "Content-type: application/x-www-form-urlencoded",
'content' => http_build_query([
'regular_periods' => 'no',
'rapid_weight_gain'=> $o2,
'excess_hair'=> $o3,
'dark_patches'=> $o4,
'pimples' => $o5,
'depression_and_anxiety'=> $o6,
'diabetic_hypertension_family_history'=> $o7,
'body_weight_maintain_difficulty'=> $o8,
'oily_skin'=> $o9,
'hair_strength_loss'=> $o10,
'eat_frequency'=> $o11,
'regular_excercise'=> $o12,
'sleep_time'=> '3:00am',
'wake_time'=> '7:30am',
'hostel_stress'=> $o13,
'personal_stress'=> $o14,
'peer_pressure'=> $o15,
'dietary_stress'=> $o16,
'fast_food_frequency'=> $o17
// 'regular_periods' => 'no',
// 'rapid_weight_gain'=> $o2,
// 'excess_hair'=> 'y',
// 'dark_patches'=> 'y',
// 'pimples' => 'y',
// 'depression_and_anxiety'=> 'y',
// 'diabetic_hypertension_family_history'=> 'y',
// 'body_weight_maintain_difficulty'=> 'y',
// 'oily_skin'=> 'y',
// 'hair_strength_loss'=> 'n',
// 'eat_frequency'=> 'hm',
// 'regular_excercise'=> 'y',
// 'sleep_time'=> '3:00am',
// 'wake_time'=> '7:30am',
// 'hostel_stress'=> 'y',
// 'personal_stress'=> 'y',
// 'peer_pressure'=> 'y',
// 'dietary_stress'=> 'y',
// 'fast_food_frequency'=> 'y'
])
]
]));
$yummy = json_decode($json1);
if ($yummy->pcos=='mb n') {
echo "<p>You may not be at the risk of PCOS</p>";
}
elseif ($yummy->pcos =='mb y') {
echo "<p>You may be at the risk of PCOS</p>";
}
}
else{
echo "<p>Please submit the form above to get a prediction.</p>";
}
// else {
// $yummy = json_decode($json1);
// if ($yummy->pcos=='mb n') {
// echo "<p>You may not be at the risk of PCOS</p>";
// }
// elseif ($yummy->pcos == 'mb y') {
// echo "<p>You may be at the risk of PCOS</p>";
// }
?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="info3 cid-smHa3xqxC6 mbr-parallax-background" id="info3-r">
<div class="mbr-overlay" style="opacity: 0.6; background-color: rgb(255, 177, 138);">
</div>
<div class="container">
<div class="row justify-content-center">
<div class="card col-12 col-lg-10">
<div class="card-wrapper">
<div class="card-box align-center">
<h4 class="card-title mbr-fonts-style align-center mb-4 display-1"><strong style="font-family: 'Dancing Script', cursive;">Join the revolution!</strong></h4>
<p class="mbr-text mbr-fonts-style mb-4 display-7">
Help us make the world better for women. Log In or Sign Up to have your own dedicated dashboard and greater access to our services.</p>
<div class="mbr-section-btn mt-3"><a class="btn btn-warning display-4" href="signup.php">Go to Dashboard<br></a></div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="features4 cid-smH9YlleGZ" id="features4-q">
<div class="container">
<div class="mbr-section-head">
<h4 class="mbr-section-title mbr-fonts-style align-center mb-0 display-2">
<strong style="font-family: 'Dancing Script', cursive;">Other Features</strong></h4>
</div>
<div class="row mt-4">
<div class="item features-image сol-12 col-md-6 col-lg-4">
<div class="item-wrapper">
<div class="item-img">
<img src="assets/images/consult-626x417.jpeg" alt="" title="">
</div>
<div class="item-content">
<h5 class="item-title mbr-fonts-style display-5"><strong>Consult Health Experts</strong></h5>
<p class="mbr-text mbr-fonts-style mt-3 display-7">
We put together an array of dedicated and skilled experts to assist you out of every hurdle
you make come across, in a diligent and efficient manner. We provide appointment booking facilities
according to your location as well as video call consultation from experts across the globe.
</p>
</div>
<div class="mbr-section-btn item-footer mt-2"><a href="consult-doc.html" class="btn item-btn btn-secondary display-7">Start Now ></a></div>
</div>
</div>
<div class="item features-image сol-12 col-md-6 col-lg-4">
<div class="item-wrapper">
<div class="item-img">
<img src="assets/images/track-626x521.jpeg" alt="" title="" data-slide-to="1">
</div>
<div class="item-content">
<h5 class="item-title mbr-fonts-style display-5"><strong>Menstrual Cycle Tracker</strong></h5>
<p class="mbr-text mbr-fonts-style mt-3 display-7">
The menstrual cycle, is often seen as the representation of femininity. We don't want you to stress
or be judgemental over it. We want to ease your life by gathering and maintaining the right insights
giving you mindspace to do more, as well as improving the consultation.
</p>
</div>
<div class="mbr-section-btn item-footer mt-2"><a href="Tracker.php" class="btn item-btn btn-secondary display-7">Track Now ></a></div>
</div>
</div><div class="item features-image сol-12 col-md-6 col-lg-4">
<div class="item-wrapper">
<div class="item-img">
<img src="assets/images/lab-1-626x417.jpeg" alt="" title="" data-slide-to="2">
</div>
<div class="item-content">
<h5 class="item-title mbr-fonts-style display-5"><strong>Book Labs and Appointments</strong></h5>
<p class="mbr-text mbr-fonts-style mt-3 display-7">
Knowing the right doctors? Finding the best labs for my needs? Where to go for a second opinion?
We got all these questions covered with giving you information and the facility to book your appointments
right here at our platform. Keeping the hassle at bay, focusing on oneself!
</p>
</div>
<div class="mbr-section-btn item-footer mt-2"><a href="labs.html" class="btn item-btn btn-secondary display-7">Book Now ></a></div>
</div>
</div>
</div>
</div>
</section>
<section class="footer3 cid-s48P1Icc8J" once="footers" id="footer3-i"><div class="container">
<div class="media-container-row align-center mbr-white">
<div class="row social-row">
<div class="social-list align-right pb-2">
<div class="soc-item">
<a href="https://github.com/priyanshisharma/Feminine" target="_blank">
<span class="mbr-iconfont mbr-iconfont-social socicon-github socicon"></span>
</a>
</div>
</div>
</div>
<div class="row row-copirayt">
<p class="mbr-text mb-0 mbr-fonts-style mbr-white align-center display-7">Made by Team HackDivas </p>
</div>
</div>
</div>
</section>
<a href="https://mobirise.site/e"></a>
<script src="assets/web/assets/jquery/jquery.min.js"></script>
<script src="assets/popper/popper.min.js"></script>
<script src="assets/tether/tether.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/smoothscroll/smooth-scroll.js"></script>
<script src="assets/parallax/jarallax.min.js"></script>
<script src="assets/mbr-tabs/mbr-tabs.js"></script>
<script src="assets/dropdown/js/nav-dropdown.js"></script>
<script src="assets/dropdown/js/navbar-dropdown.js"></script>
<script src="assets/touchswipe/jquery.touch-swipe.min.js"></script>
<script src="assets/theme/js/script.js"></script>
<!-- Load jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Load TensorFlow.js -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js"> </script>
<!-- Load the Javascript code -->
<script src="jscript/met_cancer_classes.js"></script>
<script src="jscript/breast_cancer_classes.js"></script>
<script src="jscript/app_startup_code.js"></script>
<script src="jscript/met_cancer_analyzer.js"></script>
<script src="jscript/breast_cancer_analyzer.js"></script>
</body>