Error executing template "QueryPublisher/EntityItems.cshtml"
System.IO.IOException: The process cannot access the file 'E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\Blogtheme\json\AllEntitiesTest.json' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
   at CompiledRazorTemplates.Dynamic.RazorEngine_548f9bfb7000482c836961981990715c.Execute() in E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\QueryPublisher\EntityItems.cshtml:line 70
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @using System.Web 2 @using System.Net; 3 @using Newtonsoft.Json; 4 @using Newtonsoft.Json.Linq; 5 6 7 @functions { 8 public class RootObject 9 { 10 public string tableName { get; set; } 11 public List<Entity> entityList { get; set; } 12 } 13 14 public class Entity 15 { 16 public string Id { get; set; } 17 public int Sort { get; set; } 18 public string ItemInstanceType { get; set; } 19 public string Title { get; set; } 20 public string Type { get; set; } 21 public string Description { get; set; } 22 public string Image { get; set; } 23 public string Culture { get; set; } 24 public string Greek_Subcultures { get; set; } 25 public string Roman_Republican_Subcultures { get; set; } 26 public string Roman_Imperial_Subcultures { get; set; } 27 public string Celtic_Subcultures { get; set; } 28 public string Roman_Provincial_Subcultures { get; set; } 29 public string Islamic_Subcultures { get; set; } 30 public string Eastern_Subcultures { get; set; } 31 public string European_Medieval_Subcultures { get; set; } 32 public string Indian_Subcultures { get; set; } 33 public string Byzantine_Subcultures { get; set; } 34 public string Phoenician_Subcultures { get; set; } 35 public string Chinese_Subcultures { get; set; } 36 public string Zone { get; set; } 37 public string Region { get; set; } 38 public string Location { get; set; } 39 public string Modern_Location { get; set; } 40 public string Ruler_Title { get; set; } 41 public string Ruler_Title_English { get; set; } 42 public string Epithet { get; set; } 43 public string EpithetEnglish { get; set; } 44 public string Domain { get; set; } 45 public string Doman_English { get; set; } 46 public string StartOf_Rule { get; set; } 47 public string EndOf_Rule { get; set; } 48 public string OwnerID { get; set; } 49 public string OwnerName { get; set; } 50 public string ShortDescription { get; set; } 51 public string Focus { get; set; } 52 public string IsPatron { get; set; } 53 public string IsFolder { get; set; } 54 public string IsDeleted { get; set; } 55 public string MetalsList { get; set; } 56 public string MintedByList { get; set; } 57 public string IncludeInMenu { get; set; } 58 public string NameReadable { get; set; } 59 public string PreviousText { get; set; } 60 public string NextText { get; set; } 61 public string RelevantPageID { get; set; } 62 public string RelevantParagraphID { get; set; } 63 public string RelevantAreaID { get; set; } 64 } 65 66 } 67 68 69 @{ 70 string AllEntitiesRaw = System.IO.File.ReadAllText(HttpContext.Current.Server.MapPath("/Files/Templates/Designs/Blogtheme/json/AllEntitiesTest.json")); 71 int AllEntitiesRawLength = AllEntitiesRaw.Length; 72 73 var AllEntitiesJSON = JsonConvert.DeserializeObject<List<Entity>>(@AllEntitiesRaw.Substring(49, @AllEntitiesRawLength - 55)); 74 } 75 76 77 @{ 78 string[] stringSeparators = new string[] { ", ", " and ", "|", "," }; 79 80 string Mint = System.Web.HttpContext.Current.Request.QueryString["Mint"]; 81 string[] mints; 82 83 if (!string.IsNullOrWhiteSpace(@Mint)) 84 { 85 mints = Mint.Split(stringSeparators, StringSplitOptions.None); 86 } 87 else 88 { 89 mints = new string[] { }; 90 } 91 string Zone = System.Web.HttpContext.Current.Request.QueryString["Zone"]; 92 string Region = System.Web.HttpContext.Current.Request.QueryString["Region"]; 93 string lat = ""; 94 string lng = ""; 95 96 string Denomination = System.Web.HttpContext.Current.Request.QueryString["Denomination"]; 97 string[] denominations; 98 99 if (!string.IsNullOrWhiteSpace(@Denomination)) 100 { 101 denominations = Denomination.Split(stringSeparators, StringSplitOptions.None); 102 } 103 else 104 { 105 denominations = new string[] { }; 106 } 107 108 string Category = System.Web.HttpContext.Current.Request.QueryString["Category"]; 109 string Subcategory = System.Web.HttpContext.Current.Request.QueryString["Subcategory"]; 110 string SortBy = System.Web.HttpContext.Current.Request.QueryString["SortBy"]; 111 string Metal = System.Web.HttpContext.Current.Request.QueryString["Metal"]; 112 string Ruler = System.Web.HttpContext.Current.Request.QueryString["Ruler"]; 113 string BelongsToUser = System.Web.HttpContext.Current.Request.QueryString["BelongsToUser"]; 114 string Folder = System.Web.HttpContext.Current.Request.QueryString["Folder"]; 115 string print = System.Web.HttpContext.Current.Request.QueryString["print"]; 116 117 string ParentID = System.Web.HttpContext.Current.Request.QueryString["ParentID"]; 118 119 string[] entitytitles; 120 121 string Culture = ""; 122 string subculturetype = ""; 123 string subculture = ""; 124 125 string next = ""; 126 string previous = ""; 127 128 bool InfoRendered = false; 129 bool HasSubfolders = false; 130 131 string RenderPID = "8"; @* ID of the page to render on *@ 132 133 string AbsoluteURL = @GetGlobalValue("Global:Request.AbsoluteUri"); 134 string[] UrlParameters = @GetGlobalValue("Global:Pageview.Url.Raw").Split('&'); 135 string userfilterstring = "&BelongsToUser=6&SortBy=" + @SortBy; 136 string returnlink = ""; 137 138 string ogtitle = ""; 139 string ogdescription = ""; 140 string ogimage = ""; 141 142 } 143 144 145 @foreach (var entity in GetLoop("QueryResultItem")) 146 { 147 string title = entity.GetString("Entity_Title"); 148 entitytitles = title.Split(stringSeparators, StringSplitOptions.None); 149 150 next = entity.GetString("Entity_NextText"); 151 previous = entity.GetString("Entity_PreviousText"); 152 153 Culture = entity.GetString("Entity_Culture"); 154 subculturetype = "Entity_" + @Culture + "_Subcultures";<div>@* Constructs a string to retrieve the appropriate subculture *@</div> 155 subculture = @entity.GetString(@subculturetype); 156 157 string type = @entity.GetString("Entity_Type"); 158 159 <div></div> 160 161 @* Strips BelongsToUser URL parameters and sort parameters from absolute URL in order to return users with the right parameters after using the button to show only their coins *@ 162 if (@AbsoluteURL.EndsWith(@userfilterstring)) 163 { 164 returnlink = @AbsoluteURL.Substring(0, @AbsoluteURL.LastIndexOf(@userfilterstring)); 165 } 166 167 168 @* ------------------Category info: check for Subcategory & Title means this section won't be rendered if a Title & Subcategory needs a Category check to render properly------------------ *@ 169 if (@type == "Category" && title == @Category && string.IsNullOrWhiteSpace(@Subcategory) && string.IsNullOrWhiteSpace(@Ruler) && string.IsNullOrWhiteSpace(@Denomination)) 170 { 171 <!--Title & Navigation--> 172 <div class="col-md-12 header-bar"> 173 <span class="font-title">@title.Replace("_", " ") Coins</span> 174 <!--Navigation--> 175 <div class="col-md-12 btn-group-sm" align="center" style="padding-bottom:5px"> 176 <!--Previous--> 177 @if (!string.IsNullOrWhiteSpace(@previous)) 178 { 179 if (@type == "Subcategory" && @Category == @Culture || 180 @type == "Authority" && @Culture != "Roman_Provincial" || 181 @type == "Authority" && @Culture != "Roman_Imperial") 182 { 183 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous&Category=@Culture'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 184 } 185 else 186 { 187 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 188 } 189 190 } 191 else 192 { 193 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-left" aria-hidden="true"></i></button> 194 } 195 <!--Up--> 196 @if (@type == "Subcategory") 197 { 198 <a class="btn btn-light" title='@Culture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 199 } 200 else if (@type == "Ruler") 201 { 202 <a class="btn btn-light" title='@subculture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Subcategory=@subculture&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 203 } 204 else if (@type == "Region") 205 { 206 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&Zone=@entity.GetString("Entity_Zone")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 207 } 208 else if (@type == "Zone" || @type == "Denomination" || @type == "Category") 209 { 210 <a class="btn btn-light " href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 211 } 212 else if (@type == "Mint") 213 { 214 <a class="btn btn-light " href='/Default.aspx?ID=8&Region=@entity.GetString("Entity_Region")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 215 } 216 else if (@type == "Collection" && entity.GetBoolean("Entity_IsFolder") == false || @GetGlobalValue("Global:Page.ID") == "908" && @print != "1") 217 { 218 <a class="btn btn-light " href='/Default.aspx?ID=1095'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 219 } 220 else if (type == "Collection" && entity.GetBoolean("Entity_IsFolder") == true) 221 { 222 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&SortBy=CustomSortValue'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 223 } 224 else 225 { 226 <a class="btn btn-light" href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 227 } 228 229 <!--Next--> 230 @if (!string.IsNullOrWhiteSpace(@next)) 231 { 232 if (@type == "Subcategory" && @Category == @Culture || 233 @type == "Authority" && @Culture != "Roman_Provincial" || 234 @type == "Authority" && @Culture != "Roman_Imperial") 235 { 236 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next&Category=@Culture'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 237 } 238 else 239 { 240 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 241 } 242 } 243 else 244 { 245 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-right" aria-hidden="true"></i></button> 246 } 247 </div> 248 </div> 249 <!--Description & Image--> 250 <div class="col-md-12 row"> 251 <div class="col-md-8"> 252 <span class="font-normal">@entity.GetString("Entity_Description")</span> 253 </div> 254 <div class="col-md-4 text-center"> 255 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Image"))) 256 { 257 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='@entity.GetValue("Entity_Image")' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 258 } 259 else 260 { 261 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='/Files/Images/Coinsite/NoRulerBust.jpg' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 262 } 263 <span class="font-description-tiny center-block">@entity.GetString("Entity_Caption")</span> 264 </div> 265 <div class="col-md-12"> 266 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Epithet"))) 267 { 268 <span class="font-subtitle">Epithet: </span><span class="font-description">@entity.GetString("Entity_Epithet") (@entity.GetString("Entity_EpithetEnglish"))</span> 269 } 270 </div> 271 </div> 272 <!--Action buttons--> 273 <div class="col-md-12 btn-group-sm header-bar" align="center"> 274 @{ 275 var user = Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(@GetGlobalValue("Global:Extranet.UserID"))); 276 277 } 278 279 <!--Filter--> 280 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 281 { 282 if (type != "Collection" && string.IsNullOrWhiteSpace(@BelongsToUser)) 283 { 284 <a class="btn btn-light" title='Show only your coins' href='@GetGlobalValue("Global:Request.AbsoluteUri")&BelongsToUser=@user.ID&SortBy=CustomSortValue'><i class="fa fa-filter" aria-hidden="true"></i></a> 285 } 286 else if (type != "Collection" && !string.IsNullOrWhiteSpace(@BelongsToUser)) 287 { 288 <a class="btn btn-light active" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 289 } 290 else 291 { 292 <a class="btn btn-light disabled" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 293 } 294 295 } 296 else 297 { 298 <button class="btn btn-light" title='Not logged in' disabled><i class="fa fa-filter" aria-hidden="true"></i></button> 299 } 300 <!--Add Coin--> 301 @if (!string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && string.IsNullOrWhiteSpace(BelongsToUser)|| !string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 302 { 303 <button class="btn btn-light" title='Add coin' data-toggle="modal" data-target="#NewCoinModal"><i class="fa fa-plus" aria-hidden="true"></i></button> 304 } 305 else 306 { 307 <button class="btn btn-light" href='' disabled><i class="fa fa-plus" aria-hidden="true"></i></button> 308 } 309 <!--Edit Entity--> 310 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName")) && user != null) 311 { 312 if (user.GroupsIds.Contains(84) && type != "Collection" || GetGlobalValue("Global:Extranet.UserID") == "6" && type != "Collection") 313 { 314 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 315 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit Image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 316 } 317 } 318 319 <!--Collection buttons --> 320 @if (type == "Collection") 321 { 322 if (BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 323 { 324 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection description" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 325 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 326 <a class="btn btn-light" title="Print friendly version" href='@GetGlobalValue("Global:Pageview.Url")?print=1'><i class="fa fa-print" aria-hidden="true"></i></a> 327 if (string.IsNullOrWhiteSpace(@Folder)) 328 { 329 <a class="btn btn-light" title="Create folder" data-toggle="modal" data-target="#CreateFolder"><i class="fas fa-folder-plus"></i></a> 330 } 331 else 332 { 333 <a class="btn btn-light" title="Delete folder" href="/Default.aspx?ID=5672&PID=373&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")"><i class="fa fa-trash" aria-hidden="true"></i></a> 334 } 335 } 336 337 if (@SortBy == "CustomSortValue") 338 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light disabled active"><i class="fas fa-sort-numeric-down fa-lg" aria-hidden="true"></i></a> } 339 else 340 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 341 if (@SortBy == "TitleSortValue") 342 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light disabled active"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a> } 343 else 344 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 345 346 } 347 </div> 348 349 <!--OG data--> 350 ogtitle = @title.Replace("_", " ") + " Coins"; 351 ogdescription = entity.GetString("Entity_Description").Replace('"', ' '); 352 ogimage = @entity.GetString("Entity_Image"); 353 354 InfoRendered = true; 355 } 356 @* ------------------Subcategory info: checks type and that entity culture matches the category passed ------------------ *@ 357 if (@type == "Subcategory" && @Category == @Culture) 358 { 359 string SubCatTitle = ""; 360 if (@Culture == "Islamic") 361 { 362 SubCatTitle = title.Replace("_", " ") + " " + "Coins"; 363 } 364 else 365 { 366 SubCatTitle = "Coins from " + title.Replace("_", " "); 367 } 368 369 <!--Title & Navigation--> 370 <div class="col-md-12 header-bar"> 371 <span class="font-title">@SubCatTitle</span> 372 <!--Navigation--> 373 <div class="col-md-12 btn-group-sm" align="center" style="padding-bottom:5px"> 374 <!--Previous--> 375 @if (!string.IsNullOrWhiteSpace(@previous)) 376 { 377 if (@type == "Subcategory" && @Category == @Culture || 378 @type == "Authority" && @Culture != "Roman_Provincial" || 379 @type == "Authority" && @Culture != "Roman_Imperial") 380 { 381 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous&Category=@Culture'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 382 } 383 else 384 { 385 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 386 } 387 388 } 389 else 390 { 391 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-left" aria-hidden="true"></i></button> 392 } 393 <!--Up--> 394 @if (@type == "Subcategory") 395 { 396 <a class="btn btn-light" title='@Culture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 397 } 398 else if (@type == "Ruler") 399 { 400 <a class="btn btn-light" title='@subculture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Subcategory=@subculture&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 401 } 402 else if (@type == "Region") 403 { 404 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&Zone=@entity.GetString("Entity_Zone")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 405 } 406 else if (@type == "Zone" || @type == "Denomination" || @type == "Category") 407 { 408 <a class="btn btn-light " href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 409 } 410 else if (@type == "Mint") 411 { 412 <a class="btn btn-light " href='/Default.aspx?ID=8&Region=@entity.GetString("Entity_Region")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 413 } 414 else if (@type == "Collection" && entity.GetBoolean("Entity_IsFolder") == false || @GetGlobalValue("Global:Page.ID") == "908" && @print != "1") 415 { 416 <a class="btn btn-light " href='/Default.aspx?ID=1095'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 417 } 418 else if (type == "Collection" && entity.GetBoolean("Entity_IsFolder") == true) 419 { 420 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&SortBy=CustomSortValue'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 421 } 422 else 423 { 424 <a class="btn btn-light" href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 425 } 426 427 <!--Next--> 428 @if (!string.IsNullOrWhiteSpace(@next)) 429 { 430 if (@type == "Subcategory" && @Category == @Culture || 431 @type == "Authority" && @Culture != "Roman_Provincial" || 432 @type == "Authority" && @Culture != "Roman_Imperial") 433 { 434 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next&Category=@Culture'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 435 } 436 else 437 { 438 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 439 } 440 } 441 else 442 { 443 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-right" aria-hidden="true"></i></button> 444 } 445 </div> 446 </div> 447 <!--Description & Image--> 448 <div class="col-md-12 row"> 449 450 <div class="col-md-8"> 451 <span class="font-normal">@entity.GetString("Entity_Description")</span> 452 </div> 453 <div class="col-md-4 text-center"> 454 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Image"))) 455 { 456 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='@entity.GetValue("Entity_Image")' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 457 } 458 else 459 { 460 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='/Files/Images/Coinsite/NoRulerBust.jpg' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 461 } 462 <span class="font-description-tiny center-block">@entity.GetString("Entity_Caption")</span> 463 </div> 464 <div class="col-md-12"> 465 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Epithet"))) 466 { 467 <span class="font-subtitle">Epithet: </span><span class="font-description">@entity.GetString("Entity_Epithet") (@entity.GetString("Entity_EpithetEnglish"))</span> 468 } 469 </div> 470 471 </div> 472 <!--Action buttons--> 473 <div class="col-md-12 btn-group-sm header-bar" align="center"> 474 @{ 475 var user = Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(@GetGlobalValue("Global:Extranet.UserID"))); 476 477 } 478 479 <!--Filter--> 480 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 481 { 482 if (type != "Collection" && string.IsNullOrWhiteSpace(@BelongsToUser)) 483 { 484 <a class="btn btn-light" title='Show only your coins' href='@GetGlobalValue("Global:Request.AbsoluteUri")&BelongsToUser=@user.ID&SortBy=CustomSortValue'><i class="fa fa-filter" aria-hidden="true"></i></a> 485 } 486 else if (type != "Collection" && !string.IsNullOrWhiteSpace(@BelongsToUser)) 487 { 488 <a class="btn btn-light active" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 489 } 490 else 491 { 492 <a class="btn btn-light disabled" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 493 } 494 495 } 496 else 497 { 498 <button class="btn btn-light" title='Not logged in' disabled><i class="fa fa-filter" aria-hidden="true"></i></button> 499 } 500 <!--Add Coin--> 501 @if (!string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && string.IsNullOrWhiteSpace(BelongsToUser)|| !string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 502 { 503 <button class="btn btn-light" title='Add coin' data-toggle="modal" data-target="#NewCoinModal"><i class="fa fa-plus" aria-hidden="true"></i></button> 504 } 505 else 506 { 507 <button class="btn btn-light" href='' disabled><i class="fa fa-plus" aria-hidden="true"></i></button> 508 } 509 <!--Edit Entity--> 510 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName")) && user != null) 511 { 512 if (user.GroupsIds.Contains(84) && type != "Collection" || GetGlobalValue("Global:Extranet.UserID") == "6" && type != "Collection") 513 { 514 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 515 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit Image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 516 } 517 } 518 519 <!--Collection buttons --> 520 @if (type == "Collection") 521 { 522 if (BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 523 { 524 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection description" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 525 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 526 <a class="btn btn-light" title="Print friendly version" href='@GetGlobalValue("Global:Pageview.Url")?print=1'><i class="fa fa-print" aria-hidden="true"></i></a> 527 if (string.IsNullOrWhiteSpace(@Folder)) 528 { 529 <a class="btn btn-light" title="Create folder" data-toggle="modal" data-target="#CreateFolder"><i class="fas fa-folder-plus"></i></a> 530 } 531 else 532 { 533 <a class="btn btn-light" title="Delete folder" href="/Default.aspx?ID=5672&PID=373&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")"><i class="fa fa-trash" aria-hidden="true"></i></a> 534 } 535 } 536 537 if (@SortBy == "CustomSortValue") 538 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light disabled active"><i class="fas fa-sort-numeric-down fa-lg" aria-hidden="true"></i></a> } 539 else 540 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 541 if (@SortBy == "TitleSortValue") 542 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light disabled active"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a> } 543 else 544 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 545 546 } 547 </div> 548 549 <!--OG data--> 550 ogtitle = SubCatTitle; 551 ogdescription = entity.GetString("Entity_Description").Replace('"', ' '); 552 ogimage = @entity.GetString("Entity_Image"); 553 554 InfoRendered = true; 555 } 556 557 @* ------------------Authority info------------------ *@ 558 if (title == @Ruler && @type == "Ruler" && @Culture == @Category || 559 title == @Ruler && @type == "Ruler" && @Culture == "Roman_Imperial" && @Category != "Roman_Republican" && @Category != "Byzantine" || 560 title == @Ruler && @type == "Ruler" && @Culture == "Roman_Provincial" 561 ) 562 { 563 <!--Title--> 564 <div class="col-md-12 header-bar"> 565 <span class="font-title"> 566 @title.Replace("_", " ") 567 568 </span> 569 <span class="font-description"> 570 — @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Ruler_Title_English"))) 571 { 572 <span>@entity.GetString("Entity_Ruler_Title_English") of</span> 573 } 574 else 575 { 576 <span>Authority in</span> 577 } @entity.GetString("Entity_Doman_English") 578 </span> 579 <span class="font-description"> 580 from @entity.GetString("Entity_StartOf_Rule") to @entity.GetString("Entity_EndOf_Rule"). 581 </span> 582 <!--Navigation--> 583 <div class="col-md-12 btn-group-sm" align="center" style="padding-bottom:5px"> 584 <!--Previous--> 585 @if (!string.IsNullOrWhiteSpace(@previous)) 586 { 587 if (@type == "Subcategory" && @Category == @Culture || 588 @type == "Authority" && @Culture != "Roman_Provincial" || 589 @type == "Authority" && @Culture != "Roman_Imperial") 590 { 591 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous&Category=@Culture'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 592 } 593 else 594 { 595 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 596 } 597 598 } 599 else 600 { 601 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-left" aria-hidden="true"></i></button> 602 } 603 <!--Up--> 604 @if (@type == "Subcategory") 605 { 606 <a class="btn btn-light" title='@Culture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 607 } 608 else if (@type == "Ruler") 609 { 610 <a class="btn btn-light" title='@subculture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Subcategory=@subculture&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 611 } 612 else if (@type == "Region") 613 { 614 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&Zone=@entity.GetString("Entity_Zone")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 615 } 616 else if (@type == "Zone" || @type == "Denomination" || @type == "Category") 617 { 618 <a class="btn btn-light " href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 619 } 620 else if (@type == "Mint") 621 { 622 <a class="btn btn-light " href='/Default.aspx?ID=8&Region=@entity.GetString("Entity_Region")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 623 } 624 else if (@type == "Collection" && entity.GetBoolean("Entity_IsFolder") == false || @GetGlobalValue("Global:Page.ID") == "908" && @print != "1") 625 { 626 <a class="btn btn-light " href='/Default.aspx?ID=1095'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 627 } 628 else if (type == "Collection" && entity.GetBoolean("Entity_IsFolder") == true) 629 { 630 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&SortBy=CustomSortValue'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 631 } 632 else 633 { 634 <a class="btn btn-light" href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 635 } 636 637 <!--Next--> 638 @if (!string.IsNullOrWhiteSpace(@next)) 639 { 640 if (@type == "Subcategory" && @Category == @Culture || 641 @type == "Authority" && @Culture != "Roman_Provincial" || 642 @type == "Authority" && @Culture != "Roman_Imperial") 643 { 644 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next&Category=@Culture'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 645 } 646 else 647 { 648 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 649 } 650 } 651 else 652 { 653 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-right" aria-hidden="true"></i></button> 654 } 655 </div> 656 657 </div> 658 <!--Description & Image--> 659 <div class="col-md-12 row"> 660 <div class="col-md-8"> 661 <span class="font-normal">@entity.GetString("Entity_Description")</span> 662 </div> 663 <div class="col-md-4 text-center"> 664 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Image"))) 665 { 666 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='@entity.GetValue("Entity_Image")' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 667 } 668 else 669 { 670 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='/Files/Images/Coinsite/NoRulerBust.jpg' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 671 } 672 <span class="font-description-tiny center-block">@entity.GetString("Entity_Caption")</span> 673 </div> 674 <div class="col-md-12"> 675 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Epithet"))) 676 { 677 <span class="font-subtitle">Epithet: </span><span class="font-description">@entity.GetString("Entity_Epithet") (@entity.GetString("Entity_EpithetEnglish"))</span> 678 } 679 </div> 680 681 </div> 682 <!--Action buttons--> 683 <div class="col-md-12 btn-group-sm header-bar" align="center"> 684 @{ 685 var user = Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(@GetGlobalValue("Global:Extranet.UserID"))); 686 687 } 688 689 <!--Filter--> 690 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 691 { 692 if (type != "Collection" && string.IsNullOrWhiteSpace(@BelongsToUser)) 693 { 694 <a class="btn btn-light" title='Show only your coins' href='@GetGlobalValue("Global:Request.AbsoluteUri")&BelongsToUser=@user.ID&SortBy=CustomSortValue'><i class="fa fa-filter" aria-hidden="true"></i></a> 695 } 696 else if (type != "Collection" && !string.IsNullOrWhiteSpace(@BelongsToUser)) 697 { 698 <a class="btn btn-light active" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 699 } 700 else 701 { 702 <a class="btn btn-light disabled" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 703 } 704 705 } 706 else 707 { 708 <button class="btn btn-light" title='Not logged in' disabled><i class="fa fa-filter" aria-hidden="true"></i></button> 709 } 710 <!--Add Coin--> 711 @if (!string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && string.IsNullOrWhiteSpace(BelongsToUser)|| !string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 712 { 713 <button class="btn btn-light" title='Add coin' data-toggle="modal" data-target="#NewCoinModal"><i class="fa fa-plus" aria-hidden="true"></i></button> 714 } 715 else 716 { 717 <button class="btn btn-light" href='' disabled><i class="fa fa-plus" aria-hidden="true"></i></button> 718 } 719 <!--Edit Entity--> 720 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName")) && user != null) 721 { 722 if (user.GroupsIds.Contains(84) && type != "Collection" || GetGlobalValue("Global:Extranet.UserID") == "6" && type != "Collection") 723 { 724 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 725 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit Image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 726 } 727 } 728 729 <!--Collection buttons --> 730 @if (type == "Collection") 731 { 732 if (BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 733 { 734 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection description" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 735 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 736 <a class="btn btn-light" title="Print friendly version" href='@GetGlobalValue("Global:Pageview.Url")?print=1'><i class="fa fa-print" aria-hidden="true"></i></a> 737 if (string.IsNullOrWhiteSpace(@Folder)) 738 { 739 <a class="btn btn-light" title="Create folder" data-toggle="modal" data-target="#CreateFolder"><i class="fas fa-folder-plus"></i></a> 740 } 741 else 742 { 743 <a class="btn btn-light" title="Delete folder" href="/Default.aspx?ID=5672&PID=373&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")"><i class="fa fa-trash" aria-hidden="true"></i></a> 744 } 745 } 746 747 if (@SortBy == "CustomSortValue") 748 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light disabled active"><i class="fas fa-sort-numeric-down fa-lg" aria-hidden="true"></i></a> } 749 else 750 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 751 if (@SortBy == "TitleSortValue") 752 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light disabled active"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a> } 753 else 754 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 755 756 } 757 </div> 758 759 <!--OG data--> 760 ogtitle = title.Replace("_", " "); 761 ogdescription = entity.GetString("Entity_Description").Replace('"', ' '); 762 ogimage = @entity.GetString("Entity_Image"); 763 764 765 InfoRendered = true; 766 } 767 768 @* ------------------Denomination info------------------ *@ 769 770 if (@entitytitles.Any(denominations.Contains) && @type == "Denomination") 771 { 772 <div class="col-md-12 header-bar"> 773 774 <!--Title--> 775 <span class="font-title">The @denominations[0] denomination</span> 776 @if (@entitytitles.Length > 1) 777 { 778 <span class="font-description"> — Variants: </span> 779 } 780 @foreach (var titleElement in @entitytitles) 781 { 782 if (@titleElement != @denominations[0]) 783 { 784 <span class="font-description">@titleElement</span> 785 if (@titleElement == entitytitles.Last()) 786 { 787 <span></span> 788 } 789 else 790 { 791 <span>-</span> 792 } 793 } 794 } 795 <!--Navigation--> 796 <div class="col-md-12 btn-group-sm" align="center" style="padding-bottom:5px"> 797 <!--Previous--> 798 @if (!string.IsNullOrWhiteSpace(@previous)) 799 { 800 if (@type == "Subcategory" && @Category == @Culture || 801 @type == "Authority" && @Culture != "Roman_Provincial" || 802 @type == "Authority" && @Culture != "Roman_Imperial") 803 { 804 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous&Category=@Culture'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 805 } 806 else 807 { 808 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 809 } 810 811 } 812 else 813 { 814 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-left" aria-hidden="true"></i></button> 815 } 816 <!--Up--> 817 @if (@type == "Subcategory") 818 { 819 <a class="btn btn-light" title='@Culture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 820 } 821 else if (@type == "Ruler") 822 { 823 <a class="btn btn-light" title='@subculture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Subcategory=@subculture&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 824 } 825 else if (@type == "Region") 826 { 827 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&Zone=@entity.GetString("Entity_Zone")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 828 } 829 else if (@type == "Zone" || @type == "Denomination" || @type == "Category") 830 { 831 <a class="btn btn-light " href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 832 } 833 else if (@type == "Mint") 834 { 835 <a class="btn btn-light " href='/Default.aspx?ID=8&Region=@entity.GetString("Entity_Region")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 836 } 837 else if (@type == "Collection" && entity.GetBoolean("Entity_IsFolder") == false || @GetGlobalValue("Global:Page.ID") == "908" && @print != "1") 838 { 839 <a class="btn btn-light " href='/Default.aspx?ID=1095'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 840 } 841 else if (type == "Collection" && entity.GetBoolean("Entity_IsFolder") == true) 842 { 843 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&SortBy=CustomSortValue'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 844 } 845 else 846 { 847 <a class="btn btn-light" href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 848 } 849 850 <!--Next--> 851 @if (!string.IsNullOrWhiteSpace(@next)) 852 { 853 if (@type == "Subcategory" && @Category == @Culture || 854 @type == "Authority" && @Culture != "Roman_Provincial" || 855 @type == "Authority" && @Culture != "Roman_Imperial") 856 { 857 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next&Category=@Culture'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 858 } 859 else 860 { 861 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 862 } 863 } 864 else 865 { 866 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-right" aria-hidden="true"></i></button> 867 } 868 </div> 869 870 </div> 871 <!--Description & Image--> 872 <div class="col-md-12 row" style="padding-top:5px"> 873 <div class="col-md-8"> 874 <span class="font-normal">@entity.GetString("Entity_Description")</span> 875 </div> 876 <div class="col-md-4 text-center"> 877 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Image"))) 878 { 879 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='@entity.GetValue("Entity_Image")' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 880 } 881 else 882 { 883 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='/Files/Images/Coinsite/NoRulerBust.jpg' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 884 } 885 <span class="font-description-tiny center-block">@entity.GetString("Entity_Caption")</span> 886 </div> 887 <div class="col-md-12"> 888 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Epithet"))) 889 { 890 <span class="font-subtitle">Epithet: </span><span class="font-description">@entity.GetString("Entity_Epithet") (@entity.GetString("Entity_EpithetEnglish"))</span> 891 } 892 </div> 893 </div> 894 <!--Action buttons--> 895 <div class="col-md-12 btn-group-sm header-bar" align="center"> 896 @{ 897 var user = Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(@GetGlobalValue("Global:Extranet.UserID"))); 898 899 } 900 901 <!--Filter--> 902 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 903 { 904 if (type != "Collection" && string.IsNullOrWhiteSpace(@BelongsToUser)) 905 { 906 <a class="btn btn-light" title='Show only your coins' href='@GetGlobalValue("Global:Request.AbsoluteUri")&BelongsToUser=@user.ID&SortBy=CustomSortValue'><i class="fa fa-filter" aria-hidden="true"></i></a> 907 } 908 else if (type != "Collection" && !string.IsNullOrWhiteSpace(@BelongsToUser)) 909 { 910 <a class="btn btn-light active" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 911 } 912 else 913 { 914 <a class="btn btn-light disabled" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 915 } 916 917 } 918 else 919 { 920 <button class="btn btn-light" title='Not logged in' disabled><i class="fa fa-filter" aria-hidden="true"></i></button> 921 } 922 <!--Add Coin--> 923 @if (!string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && string.IsNullOrWhiteSpace(BelongsToUser)|| !string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 924 { 925 <button class="btn btn-light" title='Add coin' data-toggle="modal" data-target="#NewCoinModal"><i class="fa fa-plus" aria-hidden="true"></i></button> 926 } 927 else 928 { 929 <button class="btn btn-light" href='' disabled><i class="fa fa-plus" aria-hidden="true"></i></button> 930 } 931 <!--Edit Entity--> 932 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName")) && user != null) 933 { 934 if (user.GroupsIds.Contains(84) && type != "Collection" || GetGlobalValue("Global:Extranet.UserID") == "6" && type != "Collection") 935 { 936 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 937 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit Image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 938 } 939 } 940 941 <!--Collection buttons --> 942 @if (type == "Collection") 943 { 944 if (BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 945 { 946 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection description" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 947 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 948 <a class="btn btn-light" title="Print friendly version" href='@GetGlobalValue("Global:Pageview.Url")?print=1'><i class="fa fa-print" aria-hidden="true"></i></a> 949 if (string.IsNullOrWhiteSpace(@Folder)) 950 { 951 <a class="btn btn-light" title="Create folder" data-toggle="modal" data-target="#CreateFolder"><i class="fas fa-folder-plus"></i></a> 952 } 953 else 954 { 955 <a class="btn btn-light" title="Delete folder" href="/Default.aspx?ID=5672&PID=373&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")"><i class="fa fa-trash" aria-hidden="true"></i></a> 956 } 957 } 958 959 if (@SortBy == "CustomSortValue") 960 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light disabled active"><i class="fas fa-sort-numeric-down fa-lg" aria-hidden="true"></i></a> } 961 else 962 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 963 if (@SortBy == "TitleSortValue") 964 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light disabled active"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a> } 965 else 966 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 967 968 } 969 </div> 970 971 <!--OG data--> 972 ogtitle = "The " + @denominations[0] + " denomination"; 973 ogdescription = entity.GetString("Entity_Description").Replace('"', ' '); 974 ogimage = @entity.GetString("Entity_Image"); 975 976 InfoRendered = true; 977 } 978 979 @* ------------------Region & Zone info------------------ *@ 980 if (title == @Region && !string.IsNullOrWhiteSpace(@Region) && InfoRendered == false && @type == "Region" || 981 title == @Zone && !string.IsNullOrWhiteSpace(@Zone) && InfoRendered == false && @type == "Zone" 982 ) 983 { 984 <!--Title & Navigation--> 985 <div class="col-md-12 header-bar"> 986 <span class="font-title">Coins from @title.Replace("_", " ")</span> 987 <!--Navigation--> 988 <div class="col-md-12 btn-group-sm" align="center" style="padding-bottom:5px"> 989 <!--Previous--> 990 @if (!string.IsNullOrWhiteSpace(@previous)) 991 { 992 if (@type == "Subcategory" && @Category == @Culture || 993 @type == "Authority" && @Culture != "Roman_Provincial" || 994 @type == "Authority" && @Culture != "Roman_Imperial") 995 { 996 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous&Category=@Culture'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 997 } 998 else 999 { 1000 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 1001 } 1002 1003 } 1004 else 1005 { 1006 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-left" aria-hidden="true"></i></button> 1007 } 1008 <!--Up--> 1009 @if (@type == "Subcategory") 1010 { 1011 <a class="btn btn-light" title='@Culture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1012 } 1013 else if (@type == "Ruler") 1014 { 1015 <a class="btn btn-light" title='@subculture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Subcategory=@subculture&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1016 } 1017 else if (@type == "Region") 1018 { 1019 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&Zone=@entity.GetString("Entity_Zone")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1020 } 1021 else if (@type == "Zone" || @type == "Denomination" || @type == "Category") 1022 { 1023 <a class="btn btn-light " href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1024 } 1025 else if (@type == "Mint") 1026 { 1027 <a class="btn btn-light " href='/Default.aspx?ID=8&Region=@entity.GetString("Entity_Region")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1028 } 1029 else if (@type == "Collection" && entity.GetBoolean("Entity_IsFolder") == false || @GetGlobalValue("Global:Page.ID") == "908" && @print != "1") 1030 { 1031 <a class="btn btn-light " href='/Default.aspx?ID=1095'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1032 } 1033 else if (type == "Collection" && entity.GetBoolean("Entity_IsFolder") == true) 1034 { 1035 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&SortBy=CustomSortValue'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1036 } 1037 else 1038 { 1039 <a class="btn btn-light" href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1040 } 1041 1042 <!--Next--> 1043 @if (!string.IsNullOrWhiteSpace(@next)) 1044 { 1045 if (@type == "Subcategory" && @Category == @Culture || 1046 @type == "Authority" && @Culture != "Roman_Provincial" || 1047 @type == "Authority" && @Culture != "Roman_Imperial") 1048 { 1049 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next&Category=@Culture'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 1050 } 1051 else 1052 { 1053 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 1054 } 1055 } 1056 else 1057 { 1058 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-right" aria-hidden="true"></i></button> 1059 } 1060 </div> 1061 1062 </div> 1063 <!--Description & Image--> 1064 <div class="col-md-12 row"> 1065 <div class="col-md-8"> 1066 <span class="font-normal">@entity.GetString("Entity_Description")</span> 1067 </div> 1068 <div class="col-md-4 text-center"> 1069 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Image"))) 1070 { 1071 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='@entity.GetValue("Entity_Image")' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 1072 } 1073 else 1074 { 1075 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='/Files/Images/Coinsite/NoRulerBust.jpg' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 1076 } 1077 <span class="font-description-tiny center-block">@entity.GetString("Entity_Caption")</span> 1078 </div> 1079 <div class="col-md-12"> 1080 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Epithet"))) 1081 { 1082 <span class="font-subtitle">Epithet: </span><span class="font-description">@entity.GetString("Entity_Epithet") (@entity.GetString("Entity_EpithetEnglish"))</span> 1083 } 1084 </div> 1085 </div> 1086 <!--Action buttons--> 1087 <div class="col-md-12 btn-group-sm header-bar" align="center"> 1088 @{ 1089 var user = Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(@GetGlobalValue("Global:Extranet.UserID"))); 1090 1091 } 1092 1093 <!--Filter--> 1094 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 1095 { 1096 if (type != "Collection" && string.IsNullOrWhiteSpace(@BelongsToUser)) 1097 { 1098 <a class="btn btn-light" title='Show only your coins' href='@GetGlobalValue("Global:Request.AbsoluteUri")&BelongsToUser=@user.ID&SortBy=CustomSortValue'><i class="fa fa-filter" aria-hidden="true"></i></a> 1099 } 1100 else if (type != "Collection" && !string.IsNullOrWhiteSpace(@BelongsToUser)) 1101 { 1102 <a class="btn btn-light active" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 1103 } 1104 else 1105 { 1106 <a class="btn btn-light disabled" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 1107 } 1108 1109 } 1110 else 1111 { 1112 <button class="btn btn-light" title='Not logged in' disabled><i class="fa fa-filter" aria-hidden="true"></i></button> 1113 } 1114 <!--Add Coin--> 1115 @if (!string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && string.IsNullOrWhiteSpace(BelongsToUser)|| !string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 1116 { 1117 <button class="btn btn-light" title='Add coin' data-toggle="modal" data-target="#NewCoinModal"><i class="fa fa-plus" aria-hidden="true"></i></button> 1118 } 1119 else 1120 { 1121 <button class="btn btn-light" href='' disabled><i class="fa fa-plus" aria-hidden="true"></i></button> 1122 } 1123 <!--Edit Entity--> 1124 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName")) && user != null) 1125 { 1126 if (user.GroupsIds.Contains(84) && type != "Collection" || GetGlobalValue("Global:Extranet.UserID") == "6" && type != "Collection") 1127 { 1128 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 1129 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit Image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 1130 } 1131 } 1132 1133 <!--Collection buttons --> 1134 @if (type == "Collection") 1135 { 1136 if (BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 1137 { 1138 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection description" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 1139 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 1140 <a class="btn btn-light" title="Print friendly version" href='@GetGlobalValue("Global:Pageview.Url")?print=1'><i class="fa fa-print" aria-hidden="true"></i></a> 1141 if (string.IsNullOrWhiteSpace(@Folder)) 1142 { 1143 <a class="btn btn-light" title="Create folder" data-toggle="modal" data-target="#CreateFolder"><i class="fas fa-folder-plus"></i></a> 1144 } 1145 else 1146 { 1147 <a class="btn btn-light" title="Delete folder" href="/Default.aspx?ID=5672&PID=373&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")"><i class="fa fa-trash" aria-hidden="true"></i></a> 1148 } 1149 } 1150 1151 if (@SortBy == "CustomSortValue") 1152 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light disabled active"><i class="fas fa-sort-numeric-down fa-lg" aria-hidden="true"></i></a> } 1153 else 1154 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 1155 if (@SortBy == "TitleSortValue") 1156 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light disabled active"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a> } 1157 else 1158 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 1159 1160 } 1161 </div> 1162 1163 <!--OG data--> 1164 ogtitle = @title.Replace("_", " "); 1165 ogdescription = entity.GetString("Entity_Description").Replace('"', ' '); 1166 ogimage = @entity.GetString("Entity_Image"); 1167 1168 InfoRendered = true; 1169 1170 } 1171 1172 @* ------------------Mint info------------------ *@ 1173 if (@entitytitles.Any(mints.Contains) && @type == "Mint") 1174 { 1175 1176 string[] coordinates; 1177 coordinates = @entity.GetString("Entity_Location").Split(':'); 1178 string[] latarray = coordinates[1].Split(','); 1179 string[] longarray = coordinates[2].Split(','); 1180 lat = latarray[0]; 1181 lng = longarray[0]; 1182 1183 <!--Title--> 1184 <div class="col-md-12 header-bar"> 1185 <span class="font-title">@mints[0]</span> 1186 <span class="font-description"> — A settlement in <span class="font-subtitle"><a href='/Default.aspx?ID=8&Region=@entity.GetString("Entity_Region")'>@entity.GetString("Entity_Region").Replace("_", " ")</a></span></span> 1187 @if (@entitytitles.Length > 1) 1188 { 1189 <span class="font-description"> also known as </span> 1190 } 1191 @foreach (var titleElement in @entitytitles) 1192 { 1193 if (@titleElement != @mints[0]) 1194 { 1195 <span class="font-subtitle">@titleElement</span> 1196 if (@titleElement == entitytitles.Last()) 1197 { 1198 <span></span> 1199 } 1200 else 1201 { 1202 <span>-</span> 1203 } 1204 } 1205 } 1206 1207 <!--Navigation--> 1208 <div class="col-md-12 btn-group-sm" align="center" style="padding-bottom:5px"> 1209 <!--Previous--> 1210 @if (!string.IsNullOrWhiteSpace(@previous)) 1211 { 1212 if (@type == "Subcategory" && @Category == @Culture || 1213 @type == "Authority" && @Culture != "Roman_Provincial" || 1214 @type == "Authority" && @Culture != "Roman_Imperial") 1215 { 1216 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous&Category=@Culture'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 1217 } 1218 else 1219 { 1220 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 1221 } 1222 1223 } 1224 else 1225 { 1226 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-left" aria-hidden="true"></i></button> 1227 } 1228 <!--Up--> 1229 @if (@type == "Subcategory") 1230 { 1231 <a class="btn btn-light" title='@Culture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1232 } 1233 else if (@type == "Ruler") 1234 { 1235 <a class="btn btn-light" title='@subculture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Subcategory=@subculture&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1236 } 1237 else if (@type == "Region") 1238 { 1239 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&Zone=@entity.GetString("Entity_Zone")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1240 } 1241 else if (@type == "Zone" || @type == "Denomination" || @type == "Category") 1242 { 1243 <a class="btn btn-light " href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1244 } 1245 else if (@type == "Mint") 1246 { 1247 <a class="btn btn-light " href='/Default.aspx?ID=8&Region=@entity.GetString("Entity_Region")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1248 } 1249 else if (@type == "Collection" && entity.GetBoolean("Entity_IsFolder") == false || @GetGlobalValue("Global:Page.ID") == "908" && @print != "1") 1250 { 1251 <a class="btn btn-light " href='/Default.aspx?ID=1095'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1252 } 1253 else if (type == "Collection" && entity.GetBoolean("Entity_IsFolder") == true) 1254 { 1255 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&SortBy=CustomSortValue'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1256 } 1257 else 1258 { 1259 <a class="btn btn-light" href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1260 } 1261 1262 <!--Next--> 1263 @if (!string.IsNullOrWhiteSpace(@next)) 1264 { 1265 if (@type == "Subcategory" && @Category == @Culture || 1266 @type == "Authority" && @Culture != "Roman_Provincial" || 1267 @type == "Authority" && @Culture != "Roman_Imperial") 1268 { 1269 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next&Category=@Culture'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 1270 } 1271 else 1272 { 1273 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 1274 } 1275 } 1276 else 1277 { 1278 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-right" aria-hidden="true"></i></button> 1279 } 1280 </div> 1281 </div> 1282 1283 <!--Description & Image--> 1284 <div class="col-md-12 row"> 1285 <div class="col-md-8"> 1286 <span class="font-normal">@entity.GetString("Entity_Description")</span> 1287 </div> 1288 <div class="col-md-4 text-center" id="googleMap" style="height:350px;"></div> 1289 <div class="col-md-12"> 1290 <br> 1291 <span class="font-subtitle">Modern location:</span> <span class="font-description">@entity.GetString("Entity_Modern_Location")</span> 1292 </div> 1293 </div> 1294 <!--Action buttons--> 1295 <div class="col-md-12 btn-group-sm header-bar" align="center"> 1296 @{ 1297 var user = Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(@GetGlobalValue("Global:Extranet.UserID"))); 1298 1299 } 1300 1301 <!--Filter--> 1302 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 1303 { 1304 if (type != "Collection" && string.IsNullOrWhiteSpace(@BelongsToUser)) 1305 { 1306 <a class="btn btn-light" title='Show only your coins' href='@GetGlobalValue("Global:Request.AbsoluteUri")&BelongsToUser=@user.ID&SortBy=CustomSortValue'><i class="fa fa-filter" aria-hidden="true"></i></a> 1307 } 1308 else if (type != "Collection" && !string.IsNullOrWhiteSpace(@BelongsToUser)) 1309 { 1310 <a class="btn btn-light active" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 1311 } 1312 else 1313 { 1314 <a class="btn btn-light disabled" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 1315 } 1316 1317 } 1318 else 1319 { 1320 <button class="btn btn-light" title='Not logged in' disabled><i class="fa fa-filter" aria-hidden="true"></i></button> 1321 } 1322 <!--Add Coin--> 1323 @if (!string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && string.IsNullOrWhiteSpace(BelongsToUser)|| !string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 1324 { 1325 <button class="btn btn-light" title='Add coin' data-toggle="modal" data-target="#NewCoinModal"><i class="fa fa-plus" aria-hidden="true"></i></button> 1326 } 1327 else 1328 { 1329 <button class="btn btn-light" href='' disabled><i class="fa fa-plus" aria-hidden="true"></i></button> 1330 } 1331 <!--Edit Entity--> 1332 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName")) && user != null) 1333 { 1334 if (user.GroupsIds.Contains(84) && type != "Collection" || GetGlobalValue("Global:Extranet.UserID") == "6" && type != "Collection") 1335 { 1336 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 1337 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit Image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 1338 } 1339 } 1340 1341 <!--Collection buttons --> 1342 @if (type == "Collection") 1343 { 1344 if (BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 1345 { 1346 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection description" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 1347 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 1348 <a class="btn btn-light" title="Print friendly version" href='@GetGlobalValue("Global:Pageview.Url")?print=1'><i class="fa fa-print" aria-hidden="true"></i></a> 1349 if (string.IsNullOrWhiteSpace(@Folder)) 1350 { 1351 <a class="btn btn-light" title="Create folder" data-toggle="modal" data-target="#CreateFolder"><i class="fas fa-folder-plus"></i></a> 1352 } 1353 else 1354 { 1355 <a class="btn btn-light" title="Delete folder" href="/Default.aspx?ID=5672&PID=373&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")"><i class="fa fa-trash" aria-hidden="true"></i></a> 1356 } 1357 } 1358 1359 if (@SortBy == "CustomSortValue") 1360 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light disabled active"><i class="fas fa-sort-numeric-down fa-lg" aria-hidden="true"></i></a> } 1361 else 1362 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 1363 if (@SortBy == "TitleSortValue") 1364 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light disabled active"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a> } 1365 else 1366 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 1367 1368 } 1369 </div> 1370 1371 <!--OG data--> 1372 ogtitle = mints[0]; 1373 ogdescription = entity.GetString("Entity_Description").Replace('"', ' '); 1374 ogimage = @entity.GetString("Entity_Image"); 1375 1376 InfoRendered = true; 1377 } 1378 @* ------------------Metal info------------------ *@ 1379 if (@title == @Metal && !string.IsNullOrWhiteSpace(@Metal) && string.IsNullOrWhiteSpace(@Denomination)) 1380 { 1381 <!--Title & Navigation--> 1382 <div class="col-md-12 header-bar"> 1383 <span class="font-title">@title.Replace("_", " ") Coinage</span> 1384 </div> 1385 <!--Description & Image--> 1386 <div class="col-md-12 row"> 1387 <div class="col-md-8"> 1388 <span class="font-normal">@entity.GetString("Entity_Description")</span> 1389 </div> 1390 <div class="col-md-4 text-center"> 1391 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Image"))) 1392 { 1393 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='@entity.GetValue("Entity_Image")' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 1394 } 1395 else 1396 { 1397 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='/Files/Images/Coinsite/NoRulerBust.jpg' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 1398 } 1399 <span class="font-description-tiny center-block">@entity.GetString("Entity_Caption")</span> 1400 </div> 1401 <div class="col-md-12"> 1402 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Epithet"))) 1403 { 1404 <span class="font-subtitle">Epithet: </span><span class="font-description">@entity.GetString("Entity_Epithet") (@entity.GetString("Entity_EpithetEnglish"))</span> 1405 } 1406 </div> 1407 </div> 1408 <!--Action buttons--> 1409 <div class="col-md-12 btn-group-sm header-bar" align="center"> 1410 @{ 1411 var user = Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(@GetGlobalValue("Global:Extranet.UserID"))); 1412 1413 } 1414 1415 <!--Filter--> 1416 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 1417 { 1418 if (type != "Collection" && string.IsNullOrWhiteSpace(@BelongsToUser)) 1419 { 1420 <a class="btn btn-light" title='Show only your coins' href='@GetGlobalValue("Global:Request.AbsoluteUri")&BelongsToUser=@user.ID&SortBy=CustomSortValue'><i class="fa fa-filter" aria-hidden="true"></i></a> 1421 } 1422 else if (type != "Collection" && !string.IsNullOrWhiteSpace(@BelongsToUser)) 1423 { 1424 <a class="btn btn-light active" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 1425 } 1426 else 1427 { 1428 <a class="btn btn-light disabled" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 1429 } 1430 1431 } 1432 else 1433 { 1434 <button class="btn btn-light" title='Not logged in' disabled><i class="fa fa-filter" aria-hidden="true"></i></button> 1435 } 1436 <!--Add Coin--> 1437 @if (!string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && string.IsNullOrWhiteSpace(BelongsToUser)|| !string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 1438 { 1439 <button class="btn btn-light" title='Add coin' data-toggle="modal" data-target="#NewCoinModal"><i class="fa fa-plus" aria-hidden="true"></i></button> 1440 } 1441 else 1442 { 1443 <button class="btn btn-light" href='' disabled><i class="fa fa-plus" aria-hidden="true"></i></button> 1444 } 1445 <!--Edit Entity--> 1446 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName")) && user != null) 1447 { 1448 if (user.GroupsIds.Contains(84) && type != "Collection" || GetGlobalValue("Global:Extranet.UserID") == "6" && type != "Collection") 1449 { 1450 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 1451 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit Image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 1452 } 1453 } 1454 1455 <!--Collection buttons --> 1456 @if (type == "Collection") 1457 { 1458 if (BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 1459 { 1460 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection description" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 1461 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 1462 <a class="btn btn-light" title="Print friendly version" href='@GetGlobalValue("Global:Pageview.Url")?print=1'><i class="fa fa-print" aria-hidden="true"></i></a> 1463 if (string.IsNullOrWhiteSpace(@Folder)) 1464 { 1465 <a class="btn btn-light" title="Create folder" data-toggle="modal" data-target="#CreateFolder"><i class="fas fa-folder-plus"></i></a> 1466 } 1467 else 1468 { 1469 <a class="btn btn-light" title="Delete folder" href="/Default.aspx?ID=5672&PID=373&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")"><i class="fa fa-trash" aria-hidden="true"></i></a> 1470 } 1471 } 1472 1473 if (@SortBy == "CustomSortValue") 1474 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light disabled active"><i class="fas fa-sort-numeric-down fa-lg" aria-hidden="true"></i></a> } 1475 else 1476 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 1477 if (@SortBy == "TitleSortValue") 1478 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light disabled active"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a> } 1479 else 1480 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 1481 1482 } 1483 </div> 1484 1485 <!--OG data--> 1486 ogtitle = @title.Replace("_", " ") + " Coinage"; 1487 ogdescription = entity.GetString("Entity_Description").Replace('"',' '); 1488 ogimage = @entity.GetString("Entity_Image"); 1489 1490 InfoRendered = true; 1491 } 1492 1493 1494 <!--Folders--> 1495 if (@title == @Folder && entity.GetBoolean("Entity_IsFolder") == true && type == "Collection" && entity.GetString("Entity_OwnerID") == @BelongsToUser && entity.GetBoolean("Entity_IsDeleted") != true && InfoRendered == false) 1496 { 1497 <!--Title & Navigation--> 1498 <div class="col-md-12 header-bar"> 1499 <span class="font-title">@title.Replace("_", " ")</span> 1500 <!--Navigation--> 1501 <div class="col-md-12 btn-group-sm" align="center" style="padding-bottom:5px"> 1502 <!--Previous--> 1503 @if (!string.IsNullOrWhiteSpace(@previous)) 1504 { 1505 if (@type == "Subcategory" && @Category == @Culture || 1506 @type == "Authority" && @Culture != "Roman_Provincial" || 1507 @type == "Authority" && @Culture != "Roman_Imperial") 1508 { 1509 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous&Category=@Culture'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 1510 } 1511 else 1512 { 1513 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 1514 } 1515 1516 } 1517 else 1518 { 1519 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-left" aria-hidden="true"></i></button> 1520 } 1521 <!--Up--> 1522 @if (@type == "Subcategory") 1523 { 1524 <a class="btn btn-light" title='@Culture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1525 } 1526 else if (@type == "Ruler") 1527 { 1528 <a class="btn btn-light" title='@subculture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Subcategory=@subculture&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1529 } 1530 else if (@type == "Region") 1531 { 1532 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&Zone=@entity.GetString("Entity_Zone")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1533 } 1534 else if (@type == "Zone" || @type == "Denomination" || @type == "Category") 1535 { 1536 <a class="btn btn-light " href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1537 } 1538 else if (@type == "Mint") 1539 { 1540 <a class="btn btn-light " href='/Default.aspx?ID=8&Region=@entity.GetString("Entity_Region")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1541 } 1542 else if (@type == "Collection" && entity.GetBoolean("Entity_IsFolder") == false || @GetGlobalValue("Global:Page.ID") == "908" && @print != "1") 1543 { 1544 <a class="btn btn-light " href='/Default.aspx?ID=1095'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1545 } 1546 else if (type == "Collection" && entity.GetBoolean("Entity_IsFolder") == true) 1547 { 1548 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&SortBy=CustomSortValue'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1549 } 1550 else 1551 { 1552 <a class="btn btn-light" href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1553 } 1554 1555 <!--Next--> 1556 @if (!string.IsNullOrWhiteSpace(@next)) 1557 { 1558 if (@type == "Subcategory" && @Category == @Culture || 1559 @type == "Authority" && @Culture != "Roman_Provincial" || 1560 @type == "Authority" && @Culture != "Roman_Imperial") 1561 { 1562 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next&Category=@Culture'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 1563 } 1564 else 1565 { 1566 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 1567 } 1568 } 1569 else 1570 { 1571 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-right" aria-hidden="true"></i></button> 1572 } 1573 </div> 1574 </div> 1575 <!--Description & Image--> 1576 <div class="col-md-12 row"> 1577 <div class="col-md-8"> 1578 <span class="font-normal">@entity.GetString("Entity_Description")</span> 1579 </div> 1580 <div class="col-md-4 text-center"> 1581 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Image"))) 1582 { 1583 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='@entity.GetValue("Entity_Image")' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 1584 } 1585 else 1586 { 1587 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='/Files/Images/Coinsite/NoRulerBust.jpg' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 1588 } 1589 <span class="font-description-tiny center-block">@entity.GetString("Entity_Caption")</span> 1590 </div> 1591 <div class="col-md-12"> 1592 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Epithet"))) 1593 { 1594 <span class="font-subtitle">Epithet: </span><span class="font-description">@entity.GetString("Entity_Epithet") (@entity.GetString("Entity_EpithetEnglish"))</span> 1595 } 1596 </div> 1597 </div> 1598 <!--Action buttons--> 1599 <div class="col-md-12 btn-group-sm header-bar" align="center"> 1600 @{ 1601 var user = Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(@GetGlobalValue("Global:Extranet.UserID"))); 1602 1603 } 1604 1605 <!--Filter--> 1606 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 1607 { 1608 if (type != "Collection" && string.IsNullOrWhiteSpace(@BelongsToUser)) 1609 { 1610 <a class="btn btn-light" title='Show only your coins' href='@GetGlobalValue("Global:Request.AbsoluteUri")&BelongsToUser=@user.ID&SortBy=CustomSortValue'><i class="fa fa-filter" aria-hidden="true"></i></a> 1611 } 1612 else if (type != "Collection" && !string.IsNullOrWhiteSpace(@BelongsToUser)) 1613 { 1614 <a class="btn btn-light active" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 1615 } 1616 else 1617 { 1618 <a class="btn btn-light disabled" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 1619 } 1620 1621 } 1622 else 1623 { 1624 <button class="btn btn-light" title='Not logged in' disabled><i class="fa fa-filter" aria-hidden="true"></i></button> 1625 } 1626 <!--Add Coin--> 1627 @if (!string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && string.IsNullOrWhiteSpace(BelongsToUser)|| !string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 1628 { 1629 <button class="btn btn-light" title='Add coin' data-toggle="modal" data-target="#NewCoinModal"><i class="fa fa-plus" aria-hidden="true"></i></button> 1630 } 1631 else 1632 { 1633 <button class="btn btn-light" href='' disabled><i class="fa fa-plus" aria-hidden="true"></i></button> 1634 } 1635 <!--Edit Entity--> 1636 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName")) && user != null) 1637 { 1638 if (user.GroupsIds.Contains(84) && type != "Collection" || GetGlobalValue("Global:Extranet.UserID") == "6" && type != "Collection") 1639 { 1640 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 1641 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit Image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 1642 } 1643 } 1644 1645 <!--Collection buttons --> 1646 @if (type == "Collection") 1647 { 1648 if (BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 1649 { 1650 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection description" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 1651 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 1652 <a class="btn btn-light" title="Print friendly version" href='@GetGlobalValue("Global:Pageview.Url")?print=1'><i class="fa fa-print" aria-hidden="true"></i></a> 1653 if (string.IsNullOrWhiteSpace(@Folder)) 1654 { 1655 <a class="btn btn-light" title="Create folder" data-toggle="modal" data-target="#CreateFolder"><i class="fas fa-folder-plus"></i></a> 1656 } 1657 else 1658 { 1659 <a class="btn btn-light" title="Delete folder" href="/Default.aspx?ID=5672&PID=373&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")"><i class="fa fa-trash" aria-hidden="true"></i></a> 1660 } 1661 } 1662 1663 if (@SortBy == "CustomSortValue") 1664 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light disabled active"><i class="fas fa-sort-numeric-down fa-lg" aria-hidden="true"></i></a> } 1665 else 1666 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 1667 if (@SortBy == "TitleSortValue") 1668 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light disabled active"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a> } 1669 else 1670 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 1671 1672 } 1673 </div> 1674 1675 <!--OG data--> 1676 ogtitle = @title.Replace("'",""); 1677 ogdescription = entity.GetString("Entity_Description").Replace("<",""); 1678 ogimage = @entity.GetString("Entity_Image"); 1679 1680 InfoRendered = true; 1681 } 1682 1683 @* ------------------Render Collections------------------ *@ 1684 if (type == "Collection" && @entity.GetString("Entity_OwnerID") == @BelongsToUser && entity.GetBoolean("Entity_IsFolder") != true && InfoRendered == false && string.IsNullOrWhiteSpace(Folder)) 1685 { 1686 <!--Title--> 1687 <div class="col-md-12 header-bar"> 1688 <span class="font-title">@title</span> 1689 <!--Navigation--> 1690 <div class="col-md-12 btn-group-sm" align="center" style="padding-bottom:5px"> 1691 <!--Previous--> 1692 @if (!string.IsNullOrWhiteSpace(@previous)) 1693 { 1694 if (@type == "Subcategory" && @Category == @Culture || 1695 @type == "Authority" && @Culture != "Roman_Provincial" || 1696 @type == "Authority" && @Culture != "Roman_Imperial") 1697 { 1698 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous&Category=@Culture'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 1699 } 1700 else 1701 { 1702 <a class="btn btn-light" title='@previous.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&@type=@previous'><i class="fa fa-arrow-left" aria-hidden="true"></i></a> 1703 } 1704 1705 } 1706 else 1707 { 1708 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-left" aria-hidden="true"></i></button> 1709 } 1710 <!--Up--> 1711 @if (@type == "Subcategory") 1712 { 1713 <a class="btn btn-light" title='@Culture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1714 } 1715 else if (@type == "Ruler") 1716 { 1717 <a class="btn btn-light" title='@subculture.Replace("_"," ")' href='/Default.aspx?ID=@RenderPID&Subcategory=@subculture&Category=@Culture'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1718 } 1719 else if (@type == "Region") 1720 { 1721 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&Zone=@entity.GetString("Entity_Zone")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1722 } 1723 else if (@type == "Zone" || @type == "Denomination" || @type == "Category") 1724 { 1725 <a class="btn btn-light " href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1726 } 1727 else if (@type == "Mint") 1728 { 1729 <a class="btn btn-light " href='/Default.aspx?ID=8&Region=@entity.GetString("Entity_Region")'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1730 } 1731 else if (@type == "Collection" && entity.GetBoolean("Entity_IsFolder") == false || @GetGlobalValue("Global:Page.ID") == "908" && @print != "1") 1732 { 1733 <a class="btn btn-light " href='/Default.aspx?ID=1095'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1734 } 1735 else if (type == "Collection" && entity.GetBoolean("Entity_IsFolder") == true) 1736 { 1737 <a class="btn btn-light " href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&SortBy=CustomSortValue'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1738 } 1739 else 1740 { 1741 <a class="btn btn-light" href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1742 } 1743 1744 <!--Next--> 1745 @if (!string.IsNullOrWhiteSpace(@next)) 1746 { 1747 if (@type == "Subcategory" && @Category == @Culture || 1748 @type == "Authority" && @Culture != "Roman_Provincial" || 1749 @type == "Authority" && @Culture != "Roman_Imperial") 1750 { 1751 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next&Category=@Culture'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 1752 } 1753 else 1754 { 1755 <a class="btn btn-light" title='@next.Replace("_", " ")' href='/Default.aspx?ID=@RenderPID&@type=@next'><i class="fa fa-arrow-right" aria-hidden="true"></i></a> 1756 } 1757 } 1758 else 1759 { 1760 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-right" aria-hidden="true"></i></button> 1761 } 1762 </div> 1763 1764 </div> 1765 <!--Description & Image--> 1766 <div class="col-md-12 row"> 1767 <div class="col-md-8"> 1768 <span class="font-normal">@entity.GetString("Entity_Description")</span> 1769 </div> 1770 <div class="col-md-4 text-center"> 1771 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Image"))) 1772 { 1773 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='@entity.GetValue("Entity_Image")' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 1774 } 1775 else 1776 { 1777 <div class="col-md-12"><img style="margin:auto;max-height:350px;" class="img-fluid" src='/Files/Images/Coinsite/NoRulerBust.jpg' alt='@entity.GetString("Entity_Title").Replace("_"," ")'></div> 1778 } 1779 <span class="font-description-tiny center-block">@entity.GetString("Entity_Caption")</span> 1780 </div> 1781 <div class="col-md-12"> 1782 @if (!string.IsNullOrWhiteSpace(@entity.GetString("Entity_Epithet"))) 1783 { 1784 <span class="font-subtitle">Epithet: </span><span class="font-description">@entity.GetString("Entity_Epithet") (@entity.GetString("Entity_EpithetEnglish"))</span> 1785 } 1786 </div> 1787 </div> 1788 1789 <!--Action buttons--> 1790 <div class="col-md-12 btn-group-sm header-bar" align="center"> 1791 @{ 1792 var user = Dynamicweb.Security.UserManagement.User.GetUserByID(Convert.ToInt32(@GetGlobalValue("Global:Extranet.UserID"))); 1793 1794 } 1795 1796 <!--Filter--> 1797 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName"))) 1798 { 1799 if (type != "Collection" && string.IsNullOrWhiteSpace(@BelongsToUser)) 1800 { 1801 <a class="btn btn-light" title='Show only your coins' href='@GetGlobalValue("Global:Request.AbsoluteUri")&BelongsToUser=@user.ID&SortBy=CustomSortValue'><i class="fa fa-filter" aria-hidden="true"></i></a> 1802 } 1803 else if (type != "Collection" && !string.IsNullOrWhiteSpace(@BelongsToUser)) 1804 { 1805 <a class="btn btn-light active" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 1806 } 1807 else 1808 { 1809 <a class="btn btn-light disabled" title='Show all coins' href="@returnlink"><i class="fa fa-filter" aria-hidden="true"></i></a> 1810 } 1811 1812 } 1813 else 1814 { 1815 <button class="btn btn-light" title='Not logged in' disabled><i class="fa fa-filter" aria-hidden="true"></i></button> 1816 } 1817 <!--Add Coin--> 1818 @if (!string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && string.IsNullOrWhiteSpace(BelongsToUser)|| !string.IsNullOrWhiteSpace(@GetGlobalValue("Global:Extranet.UserName")) && BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 1819 { 1820 <button class="btn btn-light" title='Add coin' data-toggle="modal" data-target="#NewCoinModal"><i class="fa fa-plus" aria-hidden="true"></i></button> 1821 } 1822 else 1823 { 1824 <button class="btn btn-light" href='' disabled><i class="fa fa-plus" aria-hidden="true"></i></button> 1825 } 1826 <!--Edit Entity--> 1827 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:Extranet.UserName")) && user != null) 1828 { 1829 if (user.GroupsIds.Contains(84) && type != "Collection" || GetGlobalValue("Global:Extranet.UserID") == "6" && type != "Collection") 1830 { 1831 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 1832 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit Image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 1833 } 1834 } 1835 1836 <!--Collection buttons --> 1837 @if (type == "Collection") 1838 { 1839 if (BelongsToUser == GetGlobalValue("Global:Extranet.UserID")) 1840 { 1841 <a href='/Default.aspx?ID=1028&PID=252&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection description" class="btn btn-light"><i class="fas fa-edit fa-lg" aria-hidden="true"></i></a> 1842 <a href='/Default.aspx?ID=1104&PID=257&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")' title="Edit collection image" class="btn btn-light"><i class="fas fa-image fa-lg" aria-hidden="true"></i></a> 1843 <a class="btn btn-light" title="Print friendly version" href='@GetGlobalValue("Global:Pageview.Url")?print=1'><i class="fa fa-print" aria-hidden="true"></i></a> 1844 if (string.IsNullOrWhiteSpace(@Folder)) 1845 { 1846 <a class="btn btn-light" title="Create folder" data-toggle="modal" data-target="#CreateFolder"><i class="fas fa-folder-plus"></i></a> 1847 } 1848 else 1849 { 1850 <a class="btn btn-light" title="Delete folder" href="/Default.aspx?ID=5672&PID=373&cmd=edit&itemID=Entity:@entity.GetString("PageItemId")"><i class="fa fa-trash" aria-hidden="true"></i></a> 1851 } 1852 } 1853 1854 if (@SortBy == "CustomSortValue") 1855 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light disabled active"><i class="fas fa-sort-numeric-down fa-lg" aria-hidden="true"></i></a> } 1856 else 1857 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=CustomSortValue' title="Sort by custom sort value" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 1858 if (@SortBy == "TitleSortValue") 1859 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light disabled active"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a> } 1860 else 1861 {<a href='/Default.aspx?ID=@RenderPID&@UrlParameters[1]&Sortby=TitleSortValue' title="Sort alphabetically" class="btn btn-light"><i class="fas fa-sort-alpha-down fa-lg" aria-hidden="true"></i></a>} 1862 1863 } 1864 </div> 1865 <!--Subfolders--> 1866 1867 <div id="collapse1" class="collapse card-deck"> 1868 @foreach (var jsonentity in AllEntitiesJSON) 1869 { 1870 1871 if (jsonentity.IsFolder == "true" && jsonentity.OwnerID == BelongsToUser && jsonentity.IsDeleted != "true") 1872 { 1873 var absolutePath = System.Web.HttpContext.Current.Server.MapPath("~/" + jsonentity.Image); 1874 1875 <a href="Default.aspx?ID=@RenderPID&@UrlParameters[1]&Folder=@jsonentity.Title"> 1876 <div class="folder-item card text-center"> 1877 @if (System.IO.File.Exists(absolutePath)) 1878 { 1879 <img class="card-img-top" style="padding:5px;" src="@jsonentity.Image" alt="@jsonentity.Title"> 1880 } 1881 else 1882 { 1883 <img class="card-img-top" style="padding:5px;background:white;" src="/Files/Images/folder.png" alt="@jsonentity.Title"> 1884 } 1885 1886 <div class="card-footer font-coin-title">@jsonentity.Title.Replace("_", " ")</div> 1887 </div> 1888 </a> 1889 HasSubfolders = true; 1890 1891 } 1892 } 1893 </div> 1894 if (HasSubfolders) 1895 { 1896 <div class="col-md-12 text-center"> 1897 <a data-toggle="collapse" href="#collapse1" title="Show folders"><i class="fas fa-folder-open fa-2x"></i></a> 1898 </div> 1899 } 1900 1901 <!--OG data--> 1902 ogtitle = @title.Replace('"',' '); 1903 ogdescription = entity.GetString("Entity_ShortDescription"); 1904 ogimage = @entity.GetString("Entity_Image"); 1905 1906 InfoRendered = true; 1907 } 1908 1909 1910 } 1911 1912 @* STATIC HEADERS *@ 1913 1914 1915 1916 1917 @* ------------------Recent additions------------------ *@ 1918 @if (InfoRendered == false && @GetGlobalValue("Global:Page.ID") == "1067") 1919 { 1920 <div class="col-md-12 header-bar"> 1921 <span class="font-title">Recently Added</span> 1922 </div> 1923 <div class="col-md-12 row"> 1924 <div class="col-md-8"> 1925 <span class="font-normal"> 1926 Below, you will find a list of the <b>50 most recentely added or updated coins</b> in the database.<br><br> 1927 You can use the <b>filter</b> to quickly find something specific - a particular <b>ruler</b>, <b>denomination</b>, or <b>legend</b> - or you can click on any of the <b>properties</b> shown for a coin in order to view all coins which share that property.<br><br> 1928 Click on the <b>coin image</b> to see a more in-depth description of that particular coin (if available).<br><br> 1929 Enjoy! 1930 </span> 1931 <br> 1932 </div> 1933 <div class="col-md-4 text-center"> 1934 <img style="margin:auto;max-height:350px;" class="img-fluid" src='/Files/Images/Coinsite/CoinDB/Stag.JPG' alt="Recent additions"> 1935 </div> 1936 </div> 1937 InfoRendered = true; 1938 } 1939 1940 1941 @* ------------------ Collection List------------------ *@ 1942 @if (InfoRendered == false && @GetGlobalValue("Global:Page.ID") == "1095") 1943 { 1944 <!--Title--> 1945 <div class="col-md-12 header-bar"> 1946 <span class="font-title">Collections</span> 1947 </div> 1948 <!--Description and Image section--> 1949 <div class="col-md-12 row"> 1950 <div class="col-md-8"> 1951 <span class="font-normal"> 1952 Below, you will find a list of the <b>public collections</b> hosted on this website. You can use the filter to search for a particular <b>collection</b>, <b>focus</b>, or parts of a <b>description</b>. 1953 <br><br> 1954 Hosting a collection here is totally free - although we do appreciate any donations which may help cover the hosting costs. To create a collection <b><a href="/Default.aspx?ID=64">register an account</a></b> and follow the instructions on screen. 1955 <br /><br /> 1956 Enjoy! 1957 </span> 1958 </div> 1959 <div class="col-md-4"> 1960 <img style="margin:auto;max-height:350px;" class="img-responsive img-rounded center-block" src='/Files/Images/Coinsite/LiciniusII.JPG' alt="Collections list"> 1961 </div> 1962 </div> 1963 InfoRendered = true; 1964 } 1965 1966 1967 <!-- "Collections" with no collection entity --> 1968 @if (InfoRendered == false && !string.IsNullOrWhiteSpace(BelongsToUser) && GetGlobalValue("Global:Extranet.UserID") == BelongsToUser) 1969 { 1970 <!--Title--> 1971 <div class="col-md-12 header-bar"> 1972 <span class="font-title">No Collection</span> 1973 <!--Navigation--> 1974 <div class="col-md-12 btn-group-sm" align="center" style="padding-bottom:5px"> 1975 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-left" aria-hidden="true"></i></button> 1976 <a class="btn btn-light" href='/Default.aspx?ID=1067'><i class="fa fa-arrow-up" aria-hidden="true"></i></a> 1977 <button class="btn btn-light" href='' disabled><i class="fa fa-arrow-right" aria-hidden="true"></i></button> 1978 </div> 1979 </div> 1980 <!--Description and Image--> 1981 <div class="col-md-12 row"> 1982 <div class="col-md-8"> 1983 <span class="font-normal"> 1984 Normally, this is where you - and other users - would see <b>information about your collection</b>; a description, a collection image, and so on. But you don't have 1985 a collection yet - either because you don't want to have a public collection on the website, or perhaps because you haven't created one yet. 1986 <br /><br /> 1987 <div align="center"> 1988 <button class="btn btn-primary text-center" data-toggle="modal" data-target="#CreateCollection">Create a collection</button> 1989 </div> 1990 </span> 1991 </div> 1992 <div class="col-md-4"> 1993 <img style="margin:auto;max-height:350px;" class="img-responsive img-rounded center-block" src='/Files/Images/Coinsite/LiciniusII.JPG' alt="Collections list"> 1994 </div> 1995 </div> 1996 1997 1998 1999 InfoRendered = true; 2000 } 2001 2002 @* ------------------Properties with no description------------------ *@ 2003 @if (InfoRendered == false && @print != "1") 2004 { 2005 <div class="col-md-12 header-bar"> 2006 <span class="font-title">No description yet </span> 2007 </div> 2008 <div class="col-md-12 row" style="padding-top:5px"> 2009 <div class="col-md-8"> 2010 <span class="font-normal"> 2011 Ok, so for some reason this ruler, mint, denomination or collection does not have a description yet - oops!<br> 2012 There are two possible explanations for this:<br><br> 2013 <li type="circle" style="padding-left:50px;">No description has been <b>written</b> yet</li> 2014 <li type="circle" style="padding-left:50px;">The property is <b>incorrectly named</b></li> 2015 <br> 2016 If the former, <b>patience is key</b> - this site covers thousands of entities, and all must have a manually created description written. 2017 <br><br> 2018 If the latter, try <b>renaming the property</b> - 'Domitian as Caesar' has no description, but 'Domitian' does. 2019 </span> 2020 <br> 2021 </div> 2022 <div class="col-md-4"> 2023 <img style="margin:auto;max-height:350px;" class="img-responsive img-rounded center-block" src='/Files/Images/Coinsite/CollectionImage.JPG' alt="Undescribed property"> 2024 </div> 2025 </div> 2026 InfoRendered = true; 2027 } 2028 2029 2030 @SnippetStart("OGData") 2031 <meta property="og:title" content="@ogtitle"> 2032 <meta property="og:description" content="@ogdescription"> 2033 <meta property="og:image" content="@ogimage"> 2034 @SnippetEnd("OGData") 2035 2036 <div></div> 2037 2038 <script type="text/javascript"> 2039 var coors = { "lat" : "@lat" , "long" : "@lng" }; 2040 2041 function MakeControl(controlDiv, label) { 2042 2043 // Set up the control border. 2044 var controlUI = document.createElement('div'); 2045 controlUI.title = label; 2046 controlUI.className = 'controlUI'; 2047 controlDiv.appendChild(controlUI); 2048 2049 // Set up the inner control. 2050 var controlText = document.createElement('div'); 2051 controlText.innerHTML = label; 2052 controlText.className = 'controlText'; 2053 controlUI.appendChild(controlText); 2054 } 2055 function myMap() { 2056 var myCenter = new google.maps.LatLng(coors.lat, coors.long); 2057 var impMapType = new google.maps.ImageMapType({ 2058 getTileUrl: function(coord, zoom) { 2059 return "http://dh.gu.se/tiles/imperium/" + zoom + "/" + coord.x + "/" + coord .y + ".png"; 2060 }, 2061 tileSize: new google.maps.Size(256, 256), 2062 isPng: true, 2063 alt: "Imperium Romanum", 2064 name: "Imperium", 2065 minZoom: 3, 2066 maxZoom: 11, 2067 overviewMapControl: true 2068 }); 2069 var mapOptions = { 2070 disableDefaultUI: true, 2071 zoomControl: true, 2072 scaleControl: true, 2073 zoomControlOptions: { 2074 style: google.maps.ZoomControlStyle.SMALL 2075 }, 2076 zoom: 5, 2077 center: myCenter, 2078 mapTypeId: 'IMP' 2079 }; 2080 2081 var map = new google.maps.Map(document.getElementById("googleMap"),mapOptions); 2082 map.mapTypes.set('IMP',impMapType); 2083 map.setMapTypeId('IMP'); 2084 2085 var marker = new google.maps.Marker({position:myCenter}); 2086 marker.setMap(map); 2087 2088 var controlText = ['&copy Digital Atlas of the Roman Empire, <a href="https://dare.ht.lu.se/">DARE.</a>', google.maps.ControlPosition.TOP_RIGHT]; 2089 2090 var divLabel = controlText[0]; 2091 var divName = document.createElement('div'); 2092 var newDiv = new MakeControl(divName, divLabel); 2093 map.controls[controlText[1]].push(divName); 2094 } 2095 google.maps.event.addDomListener(window, 'load', initialize); 2096 </script> 2097 2098 <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCji0zZMaMM402NbsQe0Ln9h7BbIo8BuOo&callback=myMap"></script> 2099 2100 2101 <script> 2102 // Copy to clipboard example 2103 document.querySelector("#copy-button").onclick = function () { 2104 // Select the content 2105 document.querySelector("#copy-input").select(); 2106 // Copy to the clipboard 2107 document.execCommand('copy'); 2108 }; 2109 </script> 2110
/Files/Images/Coinsite/CoinDB/Kostial_506.jpg
An AR Drachm struck ~300-0 BC in Syrmia Region
Obverse: Head with point-eyes, ball-cheeks, neckbeard, and moon-shaped ear facing right, wearing a laurel-wreath.

Reverse: Horse to the left, circle above (mostly off flan)

Diameter: 19 mm
Die Orientation: 0 H
Weight: 1.4 g
No notes for this coin
Kostial 506
/Files/Images/Coinsite/CoinDB/Danube-imitation.jpg
An AR Tetradrachm struck an unknown year in Syrmia Region
Obverse:

Reverse:

Diameter: -
Die Orientation: -
Weight: -
No notes for this coin
No references provided for this coin
/Files/Images/Coinsite/CoinDB/1514_Scordisci.jpg
An AR Drachm struck 300-100 BC in Syrmia Region
Obverse: laureate head of Zeus right (kugelwange)

Reverse: horserider left

Diameter: -
Die Orientation: -
Weight: -
No notes for this coin
???