102 lines
3.1 KiB
Plaintext
102 lines
3.1 KiB
Plaintext
@page
|
|
@model GanjooRazor.Pages.FAQModel
|
|
@{
|
|
Layout = null;
|
|
}
|
|
<!DOCTYPE html>
|
|
<html lang="fa-IR" dir="rtl">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>
|
|
@ViewData["Title"]
|
|
</title>
|
|
|
|
<link href="/css/p8.css?version=36" rel="stylesheet" type="text/css" />
|
|
<link href="/css/fab.css" rel="stylesheet" type="text/css" />
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
|
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
|
|
|
|
</head>
|
|
<body>
|
|
|
|
@if (!string.IsNullOrEmpty(Model.LastError))
|
|
{
|
|
@Model.LastError
|
|
}
|
|
else
|
|
{
|
|
<div id="hdr2" class="clearfix">
|
|
<h1><a href="/" title="گنجور"><img src="/image/gmgk.png" alt="گنجور" /></a></h1>
|
|
<div class="actionbox">
|
|
<form action="/search" method="get" id="searchform">
|
|
<input type="text" name="s" id="s" class="inputText" value="" placeholder="جستجو" />
|
|
<select name="author" id="author" onchange="onSelectedPoetChanged()">
|
|
|
|
@{
|
|
<option value="0">در آثار همهٔ سخنوران</option>
|
|
|
|
if (Model.Poets != null)
|
|
{
|
|
foreach (RMuseum.Models.Ganjoor.ViewModels.GanjoorPoetViewModel poet in Model.Poets)
|
|
{
|
|
<option value="@poet.Id">@poet.Name</option>
|
|
}
|
|
}
|
|
}
|
|
</select>
|
|
<input type="submit" value="بیاب" />
|
|
</form>
|
|
</div><!-- .actionbox -->
|
|
</div>
|
|
|
|
<!-- #hdr2 -->
|
|
|
|
<div id="fa">
|
|
|
|
|
|
|
|
<div id="maincnt">
|
|
|
|
<div class="spacer"> </div>
|
|
|
|
|
|
|
|
<div class="spacer"> </div>
|
|
|
|
|
|
</div>
|
|
|
|
<partial name="_InlineLoginPartial" model="Model" />
|
|
|
|
<partial name="_FooterPartial" model="null" />
|
|
|
|
</div>
|
|
|
|
<script src="/lib/jquery/dist/jquery.min.js"></script>
|
|
<script src="/js/bk.js?version=21"></script>
|
|
<script src="/js/vaabd.js"></script>
|
|
|
|
@if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString()))
|
|
{
|
|
<script>
|
|
(function (i, s, o, g, r, a, m) {
|
|
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
|
|
(i[r].q = i[r].q || []).push(arguments)
|
|
}, i[r].l = 1 * new Date(); a = s.createElement(o),
|
|
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
|
|
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
|
|
|
|
ga('create', '@ViewData["GoogleAnalyticsCode"]', 'auto');
|
|
ga('send', 'pageview');
|
|
|
|
</script>
|
|
}
|
|
}
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|