| Current Path : /home/users/unlimited/www/facebook.codeskitter.site/themes/wowonder/layout/show_fund/ |
| Current File : /home/users/unlimited/www/facebook.codeskitter.site/themes/wowonder/layout/show_fund/content.phtml |
<style>.wow_main_float_head.show-fnds:before {background-image: url(<?php echo($wo['fund']['image']); ?>)}@media (max-width: 990px) {footer .footer-wrapper {display: none;}}</style>
<div class="page-margin">
<div class="wow_main_float_head show-fnds">
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="fund_main_details_prnt">
<img src="<?php echo($wo['fund']['image']); ?>" class="fund_main_img">
<div class="fund_main_details">
<h1><?php echo stripslashes($wo['fund']['title']); ?></h1>
<div class="show-fund-info-user">
<div class="postMeta--author-avatar">
<a href="<?php echo $wo['fund']['user_data']['url']?>">
<img src="<?php echo $wo['fund']['user_data']['avatar']?>" alt="User Image">
</a>
</div>
<div class="postMeta--author-text">
<a href="<?php echo $wo['fund']['user_data']['url']; ?>" data-ajax="?link1=timeline&u=<?php echo $wo['fund']['user_data']['username']; ?>"><?php echo $wo['fund']['user_data']['name']; ?></a>
<span class="middot">·</span>
<time><?php echo date("d M Y",$wo['fund']['time']); ?></time>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="fund_raise_bar wow_fund_raise_bar">
<p class="show_fnd_stats"><span class="main"><?php echo $wo['config']['currency_symbol_array'][$wo['config']['currency']].$wo['fund']['raised']; ?></span> <?php echo $wo['lang']['raised_of']; ?> <?php echo $wo['config']['currency_symbol_array'][$wo['config']['currency']].$wo['fund']['amount']; ?></p>
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: <?php echo $wo['fund']['bar']; ?>%" aria-valuenow="<?php echo $wo['fund']['bar']; ?>" aria-valuemin="0" aria-valuemax="<?php echo($wo['fund']['amount']) ?>"></div>
</div>
</div>
<p class="show_fnd_stats"><span class="main"><?php echo $wo['fund']['all_donation']; ?></span> <?php echo $wo['lang']['total_donations'];?></p>
<div class="fund_raise_btns">
<?php if ($wo['user']['id'] != $wo['fund']['user_id'] && $wo['fund']['amount'] > $wo['fund']['raised'] && $wo['loggedin'] == true) { ?>
<button type="button" class="btn btn-main btn-mat" data-toggle="modal" data-target="#dont_modal"><?php echo $wo['lang']['donate']; ?></button>
<?php } ?>
<div class="dropdown">
<button class="btn btn-secondary btn-mat dropdown-toggle" type="button" id="shr_dropdwn" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?php echo $wo['lang']['share'];?></button>
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="shr_dropdwn">
<li><a class="dropdown-item" href="https://www.facebook.com/sharer.php?u=<?php echo $wo['config']['site_url'].'/show_fund/'. $wo['fund']['hashed_id']; ?>" target="_blank" title="<?php echo $wo['lang']['facebook'];?>"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#1b74e4" d="M12.001,2.002c-5.522,0-9.999,4.477-9.999,9.999c0,4.99,3.656,9.126,8.437,9.879v-6.988h-2.54v-2.891h2.54V9.798 c0-2.508,1.493-3.891,3.776-3.891c1.094,0,2.24,0.195,2.24,0.195v2.459h-1.264c-1.24,0-1.628,0.772-1.628,1.563v1.875h2.771 l-0.443,2.891h-2.328v6.988C18.344,21.129,22,16.992,22,12.001C22,6.479,17.523,2.002,12.001,2.002z"/></svg></a></li>
<li><a class="dropdown-item" href="http://twitter.com/intent/tweet?text=<?php echo $wo['fund']['title'] ?>&url=<?php echo $wo['config']['site_url'].'/show_fund/'. $wo['fund']['hashed_id']; ?>" target="_blank" title="<?php echo $wo['lang']['twitter'];?>"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#1d9bf0" d="M19.633,7.997c0.013,0.175,0.013,0.349,0.013,0.523c0,5.325-4.053,11.461-11.46,11.461c-2.282,0-4.402-0.661-6.186-1.809 c0.324,0.037,0.636,0.05,0.973,0.05c1.883,0,3.616-0.636,5.001-1.721c-1.771-0.037-3.255-1.197-3.767-2.793 c0.249,0.037,0.499,0.062,0.761,0.062c0.361,0,0.724-0.05,1.061-0.137c-1.847-0.374-3.23-1.995-3.23-3.953v-0.05 c0.537,0.299,1.16,0.486,1.82,0.511C3.534,9.419,2.823,8.184,2.823,6.787c0-0.748,0.199-1.434,0.548-2.032 c1.983,2.443,4.964,4.04,8.306,4.215c-0.062-0.3-0.1-0.611-0.1-0.923c0-2.22,1.796-4.028,4.028-4.028 c1.16,0,2.207,0.486,2.943,1.272c0.91-0.175,1.782-0.512,2.556-0.973c-0.299,0.935-0.936,1.721-1.771,2.22 c0.811-0.088,1.597-0.312,2.319-0.624C21.104,6.712,20.419,7.423,19.633,7.997z"/></svg></a></li>
<li><a class="dropdown-item" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo $wo['config']['site_url'].'/show_fund/'. $wo['fund']['hashed_id']; ?>" target="_blank" title="<?php echo $wo['lang']['linkedin'];?>"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#0a66c2" d="M20,3H4C3.447,3,3,3.448,3,4v16c0,0.552,0.447,1,1,1h16c0.553,0,1-0.448,1-1V4C21,3.448,20.553,3,20,3z M8.339,18.337H5.667 v-8.59h2.672V18.337z M7.003,8.574c-0.856,0-1.548-0.694-1.548-1.548s0.691-1.548,1.548-1.548c0.854,0,1.548,0.693,1.548,1.548 S7.857,8.574,7.003,8.574z M18.338,18.337h-2.669V14.16c0-0.996-0.018-2.277-1.388-2.277c-1.39,0-1.601,1.086-1.601,2.207v4.248 h-2.667v-8.59h2.56v1.174h0.037c0.355-0.675,1.227-1.387,2.524-1.387c2.704,0,3.203,1.778,3.203,4.092V18.337z"/></svg></a></li>
<li><a class="dropdown-item" href="http://pinterest.com/pin/create/button/?url=<?php echo $wo['config']['site_url'].'/show_fund/'. $wo['fund']['hashed_id']; ?>" target="_blank" title="<?php echo $wo['lang']['pinterest'];?>"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#e60023" d="M9.04,21.54C10,21.83 10.97,22 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2A10,10 0 0,0 2,12C2,16.25 4.67,19.9 8.44,21.34C8.35,20.56 8.26,19.27 8.44,18.38L9.59,13.44C9.59,13.44 9.3,12.86 9.3,11.94C9.3,10.56 10.16,9.53 11.14,9.53C12,9.53 12.4,10.16 12.4,10.97C12.4,11.83 11.83,13.06 11.54,14.24C11.37,15.22 12.06,16.08 13.06,16.08C14.84,16.08 16.22,14.18 16.22,11.5C16.22,9.1 14.5,7.46 12.03,7.46C9.21,7.46 7.55,9.56 7.55,11.77C7.55,12.63 7.83,13.5 8.29,14.07C8.38,14.13 8.38,14.21 8.35,14.36L8.06,15.45C8.06,15.62 7.95,15.68 7.78,15.56C6.5,15 5.76,13.18 5.76,11.71C5.76,8.55 8,5.68 12.32,5.68C15.76,5.68 18.44,8.15 18.44,11.43C18.44,14.87 16.31,17.63 13.26,17.63C12.29,17.63 11.34,17.11 11,16.5L10.33,18.87C10.1,19.73 9.47,20.88 9.04,21.57V21.54Z"/></svg></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<svg id="wave" class="hidden" style="transform:rotate(0deg); transition: 0.3s" viewBox="0 0 1440 290" version="1.1" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="sw-gradient-0" x1="0" x2="0" y1="1" y2="0"><stop stop-color="rgba(168, 72, 73, 1)" offset="0%"></stop><stop stop-color="rgba(198.23, 95.232, 96.305, 1)" offset="100%"></stop></linearGradient></defs><path style="transform:translate(0, 0px); opacity:1" fill="url(#sw-gradient-0)" d="M0,0L60,14.5C120,29,240,58,360,62.8C480,68,600,48,720,38.7C840,29,960,29,1080,53.2C1200,77,1320,126,1440,159.5C1560,193,1680,213,1800,222.3C1920,232,2040,232,2160,193.3C2280,155,2400,77,2520,72.5C2640,68,2760,135,2880,149.8C3000,164,3120,126,3240,91.8C3360,58,3480,29,3600,19.3C3720,10,3840,19,3960,43.5C4080,68,4200,106,4320,145C4440,184,4560,222,4680,222.3C4800,222,4920,184,5040,183.7C5160,184,5280,222,5400,217.5C5520,213,5640,164,5760,159.5C5880,155,6000,193,6120,217.5C6240,242,6360,251,6480,232C6600,213,6720,164,6840,125.7C6960,87,7080,58,7200,48.3C7320,39,7440,48,7560,67.7C7680,87,7800,116,7920,106.3C8040,97,8160,48,8280,53.2C8400,58,8520,116,8580,145L8640,174L8640,290L8580,290C8520,290,8400,290,8280,290C8160,290,8040,290,7920,290C7800,290,7680,290,7560,290C7440,290,7320,290,7200,290C7080,290,6960,290,6840,290C6720,290,6600,290,6480,290C6360,290,6240,290,6120,290C6000,290,5880,290,5760,290C5640,290,5520,290,5400,290C5280,290,5160,290,5040,290C4920,290,4800,290,4680,290C4560,290,4440,290,4320,290C4200,290,4080,290,3960,290C3840,290,3720,290,3600,290C3480,290,3360,290,3240,290C3120,290,3000,290,2880,290C2760,290,2640,290,2520,290C2400,290,2280,290,2160,290C2040,290,1920,290,1800,290C1680,290,1560,290,1440,290C1320,290,1200,290,1080,290C960,290,840,290,720,290C600,290,480,290,360,290C240,290,120,290,60,290L0,290Z"></path><defs><linearGradient id="sw-gradient-1" x1="0" x2="0" y1="1" y2="0"><stop stop-color="rgba(159.521, 56.792, 57.862, 1)" offset="0%"></stop><stop stop-color="rgba(168, 72, 73, 1)" offset="100%"></stop></linearGradient></defs><path style="transform:translate(0, 50px); opacity:0.9" fill="url(#sw-gradient-1)" d="M0,58L60,82.2C120,106,240,155,360,164.3C480,174,600,145,720,145C840,145,960,174,1080,169.2C1200,164,1320,126,1440,125.7C1560,126,1680,164,1800,164.3C1920,164,2040,126,2160,135.3C2280,145,2400,203,2520,227.2C2640,251,2760,242,2880,198.2C3000,155,3120,77,3240,43.5C3360,10,3480,19,3600,29C3720,39,3840,48,3960,53.2C4080,58,4200,58,4320,72.5C4440,87,4560,116,4680,120.8C4800,126,4920,106,5040,101.5C5160,97,5280,106,5400,125.7C5520,145,5640,174,5760,154.7C5880,135,6000,68,6120,77.3C6240,87,6360,174,6480,188.5C6600,203,6720,145,6840,145C6960,145,7080,203,7200,193.3C7320,184,7440,106,7560,96.7C7680,87,7800,145,7920,174C8040,203,8160,203,8280,198.2C8400,193,8520,184,8580,178.8L8640,174L8640,290L8580,290C8520,290,8400,290,8280,290C8160,290,8040,290,7920,290C7800,290,7680,290,7560,290C7440,290,7320,290,7200,290C7080,290,6960,290,6840,290C6720,290,6600,290,6480,290C6360,290,6240,290,6120,290C6000,290,5880,290,5760,290C5640,290,5520,290,5400,290C5280,290,5160,290,5040,290C4920,290,4800,290,4680,290C4560,290,4440,290,4320,290C4200,290,4080,290,3960,290C3840,290,3720,290,3600,290C3480,290,3360,290,3240,290C3120,290,3000,290,2880,290C2760,290,2640,290,2520,290C2400,290,2280,290,2160,290C2040,290,1920,290,1800,290C1680,290,1560,290,1440,290C1320,290,1200,290,1080,290C960,290,840,290,720,290C600,290,480,290,360,290C240,290,120,290,60,290L0,290Z"></path><defs><linearGradient id="sw-gradient-2" x1="0" x2="0" y1="1" y2="0"><stop stop-color="rgba(189.122, 86.503, 87.572, 1)" offset="0%"></stop><stop stop-color="rgba(168, 72, 73, 1)" offset="100%"></stop></linearGradient></defs><path style="transform:translate(0, 100px); opacity:0.8" fill="url(#sw-gradient-2)" d="M0,203L60,188.5C120,174,240,145,360,125.7C480,106,600,97,720,82.2C840,68,960,48,1080,67.7C1200,87,1320,145,1440,145C1560,145,1680,87,1800,91.8C1920,97,2040,164,2160,188.5C2280,213,2400,193,2520,159.5C2640,126,2760,77,2880,58C3000,39,3120,48,3240,72.5C3360,97,3480,135,3600,140.2C3720,145,3840,116,3960,130.5C4080,145,4200,203,4320,212.7C4440,222,4560,184,4680,140.2C4800,97,4920,48,5040,53.2C5160,58,5280,116,5400,135.3C5520,155,5640,135,5760,106.3C5880,77,6000,39,6120,33.8C6240,29,6360,58,6480,72.5C6600,87,6720,87,6840,96.7C6960,106,7080,126,7200,140.2C7320,155,7440,164,7560,174C7680,184,7800,193,7920,198.2C8040,203,8160,203,8280,193.3C8400,184,8520,164,8580,154.7L8640,145L8640,290L8580,290C8520,290,8400,290,8280,290C8160,290,8040,290,7920,290C7800,290,7680,290,7560,290C7440,290,7320,290,7200,290C7080,290,6960,290,6840,290C6720,290,6600,290,6480,290C6360,290,6240,290,6120,290C6000,290,5880,290,5760,290C5640,290,5520,290,5400,290C5280,290,5160,290,5040,290C4920,290,4800,290,4680,290C4560,290,4440,290,4320,290C4200,290,4080,290,3960,290C3840,290,3720,290,3600,290C3480,290,3360,290,3240,290C3120,290,3000,290,2880,290C2760,290,2640,290,2520,290C2400,290,2280,290,2160,290C2040,290,1920,290,1800,290C1680,290,1560,290,1440,290C1320,290,1200,290,1080,290C960,290,840,290,720,290C600,290,480,290,360,290C240,290,120,290,60,290L0,290Z"></path></svg>
</div>
<div class="wow_main_blogs_bg"></div>
<?php if ($wo['config']['user_ads'] == 1): ?>
<div id="sidebar-sticky-funding">
<?php
$wo['sidebar-ad'] = Wo_GetAdsByType('funding');
if (!empty($wo['sidebar-ad'])) {
echo Wo_LoadPage('ads/includes/funding-ad');
}
?>
<div class="clear"></div>
</div>
<?php endif; ?>
<div class="wow_content fund_raise">
<?php $wo['recent'] = GetRecentRaise($wo['fund']['id'],20); ?>
<div class="row">
<div class="col-md-<?php if (!empty($wo['recent'])) { ?>8<?php } else {?>12<?php } ?>">
<div class="wo_page_hdng pag_neg_padd wow_fnd_hd">
<div class="wo_page_hdng_innr">
<span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg></span> <?php echo $wo['lang']['info'];?>
</div>
</div>
<p class="mb-0"><?php echo stripslashes($wo['fund']['description']); ?></p>
</div>
<?php if (!empty($wo['recent'])) { ?>
<div class="col-md-4">
<div class="wo_page_hdng pag_neg_padd wow_fnd_hd">
<div class="wo_page_hdng_innr">
<span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z"></path></svg></span> <?php echo $wo['lang']['recent_donations'];?>
</div>
</div>
<div class="fund">
<div class="fluid list">
<?php if ($wo['recent']) { foreach ($wo['recent'] as $key => $user) { ?>
<div class="item fund_item" data-recent="<?php echo($user['id']) ?>">
<div class="wrapper">
<img class="img-circle" src="<?php echo($user['user_data']['avatar']) ?>" alt="Picture" />
</div>
<div class="caption">
<a href="<?php echo($user['user_data']['url']) ?>" data-ajax="?link1=timeline&u=<?php echo($user['user_data']['username']) ?>"><?php echo $user['user_data']['name']; ?></a>
<p>
<?php echo $wo['config']['currency_symbol_array'][$wo['config']['currency']].$user['amount']; ?><span class="middot">·</span>
<time class="time-ago"><?php echo(Wo_Time_Elapsed_String($user['time'])); ?></time>
</p>
</div>
</div>
<?php } } ?>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
<?php echo Wo_LoadPage('footer/content'); ?>
</div>
<div class="modal fade" id="dont_modal" tabindex="-1" role="dialog">
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
<h4 class="modal-title"><?php echo $wo['lang']['donate']; ?></h4>
</div>
<div class="modal-body">
<h3 class="text-center fund_dnt_hd"><span><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="currentColor" d="M9.06,1.93C7.17,1.92 5.33,3.74 6.17,6H3A2,2 0 0,0 1,8V10A1,1 0 0,0 2,11H11V8H13V11H22A1,1 0 0,0 23,10V8A2,2 0 0,0 21,6H17.83C19,2.73 14.6,0.42 12.57,3.24L12,4L11.43,3.22C10.8,2.33 9.93,1.94 9.06,1.93M9,4C9.89,4 10.34,5.08 9.71,5.71C9.08,6.34 8,5.89 8,5A1,1 0 0,1 9,4M15,4C15.89,4 16.34,5.08 15.71,5.71C15.08,6.34 14,5.89 14,5A1,1 0 0,1 15,4M2,12V20A2,2 0 0,0 4,22H20A2,2 0 0,0 22,20V12H13V20H11V12H2Z"></path></svg></span><?php echo $wo['lang']['amount']; ?></h3>
<div id="amount_fund_alert"></div>
<div class="fund_input">
<input type="number" name="amount" class="form-control" placeholder="0.00" id="fund_donate_amount" onkeyup="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');">
<div id="place"></div>
</div>
<div class="fund_butns">
<button class="bank_payment btn btn-main" onclick="Wo_GetPaymentLink(0,0,'fund','hide');"><?php echo $wo['lang']['donate']; ?></button>
<input type="hidden" class="form-control" id="fund_donate_id" value="<?php echo $wo['fund']['id']; ?>">
</div>
</div>
</div>
</div>
</div>
<script>
$('.wow_main_blogs_bg').css('height', ($('.wow_main_float_head').height()) + 'px');
</script>