a b/templates/liver_disease_info.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>Diabetes: In Depth</title>
7
    <style>
8
        body {
9
            font-family: Arial, sans-serif;
10
            margin: 0;
11
            padding: 0;
12
            background-image: url('/static/main\ bg\ 6.jpg');
13
            background-size: cover;
14
            background-position: center;
15
            color: #333;
16
        }
17
18
        header {
19
            background-color: rgba(0, 0, 0, 0.5);
20
            color: #fff;
21
            padding: 20px;
22
            text-align: center;
23
            position: relative;
24
        }
25
26
        .logo {
27
            position: absolute;
28
            top: 10px;
29
            left: 20px;
30
            right:20px;
31
            width: 100px;
32
            height: auto;
33
        }
34
35
        .container {
36
            max-width: 800px;
37
            margin: 20px auto;
38
            padding: 20px;
39
            background-color: rgba(255, 255, 255, 0.8);
40
            border-radius: 8px;
41
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
42
        }
43
44
        h1 {
45
            color: #000000;
46
            text-align: center;
47
        }
48
49
        h2 {
50
            color: #333;
51
        }
52
53
        p {
54
            margin-bottom: 20px;
55
        }
56
57
        a {
58
            color: #0faacd;
59
        }
60
61
        ul {
62
            list-style-type: none;
63
            padding: 0;
64
        }
65
66
        li {
67
            margin-bottom: 10px;
68
        }
69
70
        footer {
71
            background-color: rgba(0, 0, 0, 0.5);
72
            color: #fff;
73
            text-align: center;
74
            padding: 20px;
75
            position: fixed;
76
            left: 0;
77
            bottom: 0;
78
            width: 100%;
79
        }
80
    </style>
81
</head>
82
<body>
83
    <header>
84
        <img src="/static/NEWLOGO.png" alt="Logo" class="logo">
85
        <h1>LIVER</h1>
86
    </header>
87
    <div class="container">
88
        <h2>Liver Disease: A Comprehensive Guide</h2>
89
90
<p>Liver disease is a broad term encompassing any condition that affects the liver, a vital organ responsible for various functions like filtering blood, producing proteins, and storing energy. Here's a comprehensive breakdown of liver diseases:</p>
91
92
<h3>Types of Liver Disease:</h3>
93
94
<p>Liver diseases can be categorized based on cause:</p>
95
96
<ul>
97
    <li><strong>Viral hepatitis:</strong> Inflammation caused by viruses. Common types include:
98
        <ul>
99
            <li>Hepatitis A: Acute infection usually spread through contaminated food or water.</li>
100
            <li>Hepatitis B: Chronic infection spread through bodily fluids. Vaccination is available.</li>
101
            <li>Hepatitis C: Chronic infection spread through bodily fluids. Highly treatable with medication.</li>
102
        </ul>
103
    </li>
104
    <li><strong>Alcoholic liver disease:</strong> Spectrum of liver damage caused by excessive alcohol consumption.</li>
105
    <li><strong>Nonalcoholic fatty liver disease (NAFLD):</strong> Fat buildup in the liver not caused by alcohol. Can progress to serious conditions if left unmanaged.</li>
106
    <li><strong>Autoimmune hepatitis:</strong> The immune system attacks the liver cells.</li>
107
    <li><strong>Inherited liver diseases:</strong> Genetic disorders causing liver problems, like hemochromatosis (iron overload) and Wilson disease (copper buildup).</li>
108
    <li><strong>Biliary diseases:</strong> Affect the bile ducts that carry bile from the liver to the intestines. Examples include gallstones and primary biliary cholangitis.</li>
109
    <li><strong>Liver cancer:</strong> Uncontrolled cell growth in the liver.</li>
110
</ul>
111
112
<h3>Common Causes of Liver Disease:</h3>
113
114
<p>Liver disease symptoms can vary depending on the type and severity. Here are some general signs:</p>
115
116
<ul>
117
    <li>Fatigue</li>
118
    <li>Nausea and vomiting</li>
119
    <li>Loss of appetite</li>
120
    <li>Abdominal pain or swelling</li>
121
    <li>Dark urine</li>
122
    <li>Pale stools</li>
123
    <li>Jaundice (yellowing of the skin and whites of the eyes)</li>
124
    <li>Itchy skin</li>
125
</ul>
126
127
<h3>Diagnosis of Liver Disease:</h3>
128
129
<p>Doctors diagnose liver disease through a combination of methods:</p>
130
131
<ul>
132
    <li><strong>Blood tests:</strong> Evaluate liver function and detect abnormalities.</li>
133
    <li><strong>Imaging tests:</strong> Ultrasound, CT scan, or MRI scan to visualize the liver.</li>
134
    <li><strong>Liver biopsy:</strong> Tissue sample extraction for detailed analysis.</li>
135
</ul>
136
137
<h3>Treatment of Liver Disease:</h3>
138
139
<p>Treatment options depend on the specific type and cause of the liver disease. Here are some common approaches:</p>
140
141
<ul>
142
    <li><strong>Medications:</strong> Antiviral drugs for hepatitis, medications to manage NAFLD and autoimmune hepatitis.</li>
143
    <li><strong>Lifestyle changes:</strong> Diet modifications, weight loss, and alcohol cessation are crucial.</li>
144
    <li><strong>Surgery:</strong> In some cases, surgery may be necessary to remove diseased tissue or address complications.</li>
145
    <li><strong>Liver transplant:</strong> For severe end-stage liver disease, a liver transplant may be an option.</li>
146
</ul>
147
148
<h3>Complications of Liver Disease:</h3>
149
150
<p>Untreated liver disease can lead to serious complications like:</p>
151
152
<ul>
153
    <li>Cirrhosis: Scarring of the liver that impairs function.</li>
154
    <li>Liver failure: Inability of the liver to perform its essential functions.</li>
155
    <li>Liver cancer</li>
156
</ul>
157
158
<h3>Prevention of Liver Disease:</h3>
159
160
<p>With proper diagnosis, treatment, and lifestyle modifications, many people with liver disease can live long and healthy lives. Here are some tips for managing liver disease:</p>
161
162
<ul>
163
    <li>Follow your doctor's recommendations: Adhere to prescribed medications and dietary guidelines.</li>
164
    <li>Maintain a healthy weight: Exercise regularly and eat a balanced diet.</li>
165
    <li>Avoid alcohol: Abstain from alcohol consumption if advised by your doctor.</li>
166
    <li>Get regular checkups: Monitor your liver function with regular doctor visits and tests.</li>
167
    <li>Join a support group: Connect with others who understand the challenges of living with liver disease.</li>
168
</ul>
169
170
<h3>Additional Resources:</h3>
171
172
<ul>
173
    <li>American Liver Foundation: <a href="https://liverfoundation.org/">https://liverfoundation.org/</a></li>
174
    <li>National Institute of Diabetes and Digestive and Kidney Diseases: <a href="https://www.niddk.nih.gov/">https://www.niddk.nih.gov/</a></li>
175
</ul>
176
177
    </div>
178
    <br>
179
    <br>
180
    <br>
181
    <br>
182
    <br>
183
    <footer>
184
    </footer>
185
</body>
186
</html>