

@model EForT.Models.PublisherModel

@if (Model.PublisherList != null)
{
    if (Model.PublisherList.Count > 0)
    {
        <div class="card">
            <div class="card-header border-bottom">
                <h4 class="card-title">Obtain Results Like Our Members</h4>
            </div>
            <div class="card-content">
                <div class="card-body">
                    <div class="signalw">
                        <div class="row">
                            @for (int i = 0; i < Model.PublisherList.Count; i++)
                            {
                                <div class="col-lg-3 col-md-6 col-12">
                                    <div class="text-center">
                                        <h4>Publisher: @Model.PublisherList[i].UserName</h4>
                                        <h4>Forex Account: @Model.ListForexAccounts[i].ForexId</h4>
                                    </div>
                                    <a href="@Url.Action("Report", "Report", new { publisherId = Model.PublisherList[i].Id })"><img style="height: 200px; width: 100%;" class="border-blue-grey round" src="data:image/png;base64, @Model.PublisherList[i].Thumbnail" /></a>
                                    <a class="nav-link pt-1 text-center" style=" width:100%; padding-right:0;" href="@Url.Action("Report", "Report", new { publisherId = Model.PublisherList[i].Id })"><h3 style="font-weight:500">View Full Report</h3></a>
                                    <br />
                                </div>
                            }
                        </div>
                    </div>
                </div>
            </div>
        </div>
    }
}